How can I get the real Emailaddress of a recipient?

Posted by Boas Enkler on Server Fault See other posts from Server Fault or by Boas Enkler
Published on 2012-12-11T16:53:52Z Indexed on 2012/12/11 17:06 UTC
Read the original article Hit count: 303

a user in out Company has 2 mail-addresses on one Exchange-Mailbox. e.g test@... and test1@... the Primary SMTP-address off the Mailbox is test@. If I send a message to test1@, load it using EWS and parse through the TORecipients-Collection there is exactly one emailadress. But the mailaddress EWS gives to me is test@... and not test1@... where I sent the mail.

My problem is, that all mails sent to test@ should be imported in our CRM using my program. All mails sent to test1@... must not be imported. In real life both mailaddresses are from my Boss. One is used for normal purposes the other one is for confidential e.g. from his lawyer.

Does anyone know how I can get the real-emailaddress the message was sent to?

© Server Fault or respective owner

Related posts about email

Related posts about exchange-2010