Bargholz Thomas
Posts: 242
Joined: 2006-12-18
|
Hi,
I have an add-in that monitors folders and does various work with specific e-mails.
The add-in is developed using add-in-express, and I use folder events to monitor and then handle the new e-mails on ProcessItemAdd, which all works fine.
Now a customer has started to receive digitally signed e-mails, which requires them to provide password/sign-in in order to read the e-mails. The customer would like to pass these e-mails through our handling as well.
This does not work, as Outlook object model throws an exception on getting the e-mail when we receive the event
(on Microsoft.Office.Interop.Outlook._MailItem.get_EntryID()).
I know this is no related to add-in-express product but is due to Outlook object model, but I was wondering if you had worked with signed e-mails before, and had any good pointers on how to handle the situation.
So far the best I can see is to catch the specific exception, log that this is a signed e-mail, and move it somewhere else, so the users can retrieve it for manual processing.
Best regards
Thomas |
|
Andrei Smolin
Add-in Express team
Posts: 18828
Joined: 2006-05-11
|
|