+1 vote

when an image is in a tag

<a href...
  <img src=..

mail.dll does not insert the image into mail with 'cid:....'
Is it a way to manage that?

by
edited by
Could you please explain what you are doing? Sending, receiving? How does your code look like?
I am using mail template in html.
In the template i use
<img src="white.png" width="0" height="0" alt="Home" border="0" /> and the image is inserted using cid reference when the mail is sent.
In the same template i place
 <a href="http://home.generali.be...">
          <img src="sub-f.png" width="500px" height="43px" border="0" />
        </a>
and in that case, the cid reference is not done.
I will check the code...

1 Answer

0 votes

Mail.dll doesn't download any HTML content from the remote servers.

It doesn't change how the images are referenced from within the HTML body.
The only situation in which Mail.dll changes that is when creating new email and loading HTML data from disk. Images located on disk are added to the email as visual attachments and HTML is modified to use cid references.

[Edit]
I've checked and it seems there is a bug indeed. We'll correct that and let you know.

[Edit2]
Corrected.

by (301k points)
edited by
...