Unique ID in outgoing mail, that can be found on the exchange server later...?

D

Dag Sunde

When creating a new mail in outlook, you can analyze the different
properties of the mail
by setting a breakpoint in the Application_ItemSend(...) event...

Is there any property in the mail object that is guarateed to be
unique, AND that can be found
when using the Exchange Web Services to read mails at a later point in
time.
(IE. after the mail have been sendt to the exchange server and stored
there)?

TIA...

Dag Sunde.
 
K

Ken Slovak

You need to get the item after sending. Any change of location will change
the EntryID for an item so you need to pick it up in an ItemAdd() handler
for the Items collection of the Sent Items folder. If you get EntryID then
you can use it with EWS.
 
D

Dag Sunde

You need to get the item after sending. Any change of location will change
the EntryID for an item so you need to pick it up in an ItemAdd() handler
for the Items collection of the Sent Items folder. If you get EntryID then
you can use it with EWS.

Now, that sounds like it actually might work :)

Thanks Ken, I'll give it a try.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top