Search code examples
c#exchange-server-2007system.net.mail

Programmatically Verify an email message reached an exchange mail box


I have a job that runs which sends out emails to our users to which starts off a work flow process in our company. Periodically, a user will swear up and down that they didn't receive the email - though, when we go to the mail administrator to pull an exchange report, 10 times out of 10 it's in their deleted items. :P

I'd like to be able to programmatically verify that messages sent via .net C# (System.Net.Mail I think) reached the user's mail box.

It's exchange 2007 and all messages are internal.


Solution

  • You can't with System.Net.Mail. You'll have to dig through Exchange's APIs to determine if an email is present in someone's email account.

    http://support.microsoft.com/kb/813349