We're sorry Aspose doesn't work properply without JavaScript enabled.

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


Thanks for considering Aspose

Please use <a href="https://forum.aspose.com/t/43897 thread for further discussions.