简体   繁体   English

阅读来自Exchange服务器的电子邮件

[英]Read emails from Exchange server

How can i read all inbound and outbound email from our exchange server using .vet (VB/C#)? 如何使用.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. 我们真正想要实现的是阅读所有传出和传入的电子邮件,并将电子邮件复制到服务器中的特定Quote文件夹。

I want to server get emails which have a specific Subject line something like "Quote #12345". 我想服务器获取包含特定主题行的电子邮件,例如“ Quote#12345”。

Thanks in advance. 提前致谢。

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 使用传输规则将与您的特定主题匹配的任何电子邮件复制到特定的邮箱,然后使用EWS https://msdn.microsoft.com/zh-cn/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 创建一个传输代理,它将允许您处理通过传输管道https://technet.microsoft.com/zh-cn/library/bb125012(v=exchg.150).aspx的所有邮件

Cheers Glen 干杯格伦

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM