How to recognize an eml file

Add-in Express™ Support Service
That's what is more important than anything else

How to recognize an eml file
How to recognize when a mail item is opened from a file 
Subscribe
Frank Horenberg




Posts: 20
Joined: 2022-08-03
Hi,

I was wondering if you can help me with something. I have been trying to find a way to differentiate opening a mail item from a file (like an eml file) from opening a mail item from a mailbox.

Are you aware of how can I recognize if a mail item is opened from a file in a definitive way?

Thank you very much for helping out,

Kind regards,
Frank
Posted 15 Feb, 2024 13:45:12 Top
Andrei Smolin


Add-in Express team


Posts: 18833
Joined: 2006-05-11
Hello Frank,

Add a test button to your add-in. In the Click event of the button get the MailItem objects you want to compare and let the code stop on a break point. Now use QuickWatch to view each of the objects, expand their properties and capture screenshots of the QuickWatch window. Finally, compare screenshots to find differences between the properties of the two MailItem objects.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Feb, 2024 10:06:38 Top