+1 vote

I use the Mail.dll with POP3 to the receive.

In some emails the picture within the HTML is fetched not as "a Visuals", but as a "NonVisuals".

I add an example:

--sgnirkm-f3ba5e99-7a38-4c7b-8ca5-e9b861844459
Content-Type: image/jpeg
Content-Disposition: attachment; filename=bad_i-071220-0950.jpg
Content-ID: d41c32beba1395cd6a64afbd1989cec0e418b9c44a71b8d7557da199df3fd300
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD//gOUIzpNMUlNRw0KU0VDVElPTiBGSU5HRVJQUklOVA0KVkVS
Ig6GWEowUKPs427j6OCeT3yK+c0Y5p6yMAcqjdvmHNZT4SUv+Xv/AJL/AME2p3j1P//Z
--sgnirkm-f3ba5e99-7a38-4c7b-8ca5-e9b861844459--

What can I do?

by

1 Answer

0 votes
 
Best answer

What can I do?

You can do nothing about that (apart from using IMail.NonVisuals or
IMail.Attachments collections, which contain non visual email attachments and all email attachments).

In this email, image attachment has disposition set to "attachment" not "inline" (or empty):

Content-Disposition: attachment; filename=bad_i-071220-0950.jpg

Mail.dll behaves correctly here.

by (301k points)
...