开发者

Getting basic information (sender, recipient, timestamp) of ALL incoming emails in Exchange

We are implementing a reporting system (.net 4.0, c#) that contains all the sender/recipient/timestamp information for all the emails for all the users. We have the requirement that this application should be able to communicate with Exchange 2007 SP1 and Exchange 2010开发者_JAVA技巧 servers, thus, using the Exchange Web Service Managed API sounds like the technology that we need.

I can create subscriptions on Inbox/Sent items folders for event types "Created" and "New mail". The problem is in case of some incoming emails when a user is using some rule that e.g. moves the message directly to some other folder or deletes it based on some defined rules.

Do you have any advice how to get ALL incoming messages that is sent to the user's email address (and then later distributed wherever the exchange server want to do it). We are not interested in spam emails, but if that is the price to get the required information then we will find a solution to coop with it.

thanks in advance for everyone!


You could intercept mails before they are placed in a users mailbox. A Transport agent will give you access to all messages. See http://technet.microsoft.com/en-us/library/bb125012.aspx.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜