Free Support Forum - aspose.com

Support request from tempability at 11/5/2009 8:05:00 PM

I'm trying to create an email message using Aspose.Network.Mail.MailMessage, using a MHTML stream as the body. I've tried a number of methods, but I can't seem to keep the images in the email in the right place.

First, I tried using the MailMessage.HtmlBody property, after using a streamreader to send the MHTML stream to a string. I got text in the body, but no images, and lots of garbage as well.

Next, I tried using the Load method of MailMessage. I got an email, but the text body was one attachment, and the image was a separate attachment. How do I get the MHTML content intact into the body of the email?


This message was posted using Aspose.Live 2 Forum

Hi,

Thanks for considering Aspose

Please use http://www.aspose.com/community/forums/thread/206377/mhtml-email-showing-up-with-attachments.aspx thread for further discussions.