Hello,
I’m loading a vcf contact file and save as msg, then msg to mht to generate the fields and headers, and finally save as msg or oft to disk.
- At the first stage, MapiContact.Attachments.Count shows 0, then MapiMessage and MailMessage both will show 1 attachment which is contact photo.
- After I load the saved file from disk, MailMessage.Attachments.Count shows 2, and both files have same name and same size/contents!
I can’t figure out if this duplicate same attachments issue happens when saving or loading msg/oft
But this sample app will clearly show you the issue:
WindowsApplication2.zip (41.8 KB)