C# – word document, converted it to .htm, need to format email accordingly – C#.NET

cemailhtml

So I have this word file that I converted to .htm, and I need to send this as a body of the email. Things are partially working. I am able to get the message show up without any weird html tags, but the picture embedded in the html (originally inside the word document) is still not showing up. Anybody got any pointers on that? Anybody done something similar? I made sure the images are in the folder.

Best Answer

I think your best strategy is to upload the images to some site, not try to embed them in the email. So parse your doc and create .htm, take any images and upload them to some directory, then update .htm to reference that location/url.

Related Topic