login about faq

I'm trying the example given here


The only thing I have had to change from the demo is put an absolute reference for the image loc

 Dim contentIdStarfish As String = email.AddRelatedFile("C:\ImageLoc\screenGrabImage.jpg")

However now the email is received, the file is attached, but there is a "missing image" block in the body where the image is supposed to be in the body of the mail?

How can the relative addressing work? Assuming the example is correct... or what else could be wrong?


asked Jun 09 '15 at 16:28

imbendecko's gravatar image


The documentation at http://www.example-code.com/vbnet/smtp_to_iphone.asp has an error.

The CID in <img src=""CID:CONTENT_ID_STARFISH"" is wrong.

It needs to be in lowercase to work.

<img src=""cid:CONTENT_ID_STARFISH"" works in Outlook webmail and Outlook desktop


answered Jun 10 '15 at 04:04

imbendecko's gravatar image


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: Jun 09 '15 at 16:28

Seen: 599 times

Last updated: Jun 10 '15 at 04:04

powered by OSQA