Forum Moderators: open
When I set this property...
cdoMailMessage.HTMLBody = sFormattedMailContents
My html gets lopped off right at 1.8k. Anyone else have this problem? Was there a workaround?
objMsg.CreateMHTMLBody("mymessage.htm")
Here's a link that talks about it in detail. Create MHTML Body Method [interlacken.com]
If not, I haven't experienced the problem you are having, but I did read that if you are using textbody, then there is a limitation.
Thank you for bringing this up. Very interesting reading about this issue. Learn something every day because of this place :)
I had an issue with this a long ways back and eventually gave up trying to insert the contents into the body of the email, instead programmatically attaching a file of the text and sending it off that way.
Apparently, there is ~1k limit on each line of the message body, so if you just put in a few well placed Carriage Return Line Feeds(every < 1k), that should fix your problem.. the limit for the body is set at the mail server, and most are > 5MB.
HTH,
Mark