Hi, I am using this method to load from a htm file which contains images which are stored in a folder underneath the file location. The email body is not displaying the image. How can I include the image?
I am currently using CDO and the CreateMHTMLBody method which works fine apart from it includes a file attachment with the email which I don't want. As I have recently purchased these excellent tools, I wondered whether this is possible for your method to include the image(s) in the email body.
asked Sep 11 '12 at 13:43
To create an email from an HTML file that references images on disk, try using the mht.GetEmail method, such as in this example: http://www.example-code.com/csharp/mht_emailHtmlFile.asp
answered Sep 11 '12 at 15:39