问题
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
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
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