Read emails from Exchange server

折月煮酒 提交于 2020-01-07 05:38:41

问题


How can i read all inbound and outbound email from our exchange server using .vet (VB/C#)?

Basically we have a Quote management system and we send Quote out via email. What we really want to achieve is Read all outgoing and incoming emails and copy the email to specific Quote folder in server.

I want to server get emails which have a specific Subject line something like "Quote #12345".

Thanks in advance.


回答1:


You could take a few approaches

  1. Use a Transport Rule to copy any email that matches your particular subject to a particular Mailbox and then just process any email in that Mailbox using EWS https://msdn.microsoft.com/en-us/library/office/dn535506(v=exchg.150).aspx

  2. Create a Transport Agent which will allow you to process all messages that pass through the Transport Pipeline https://technet.microsoft.com/en-us/library/bb125012(v=exchg.150).aspx

Cheers Glen



来源:https://stackoverflow.com/questions/33271692/read-emails-from-exchange-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!