login about faq

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

Batfink91's gravatar image


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

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 11 '12 at 13:43

Seen: 1,444 times

Last updated: Sep 11 '12 at 15:39

powered by OSQA