简体   繁体   English

Exchange传输代理退回MailItem

[英]Exchange Transport Agent Bounce MailItem

In our Exchange RoutingAgent , we would like to be able to bounce an email back to the sender in the event of an unexpected exception. 在我们的Exchange RoutingAgent ,我们希望能够在出现意外异常的情况下将电子邮件退回给发件人。 We would also like to be able to send the bounce message to some pre-defined admin email too if possible. 如果可能的话,我们也希望能够将退回邮件发送到一些预定义的管理员电子邮件中。 Is there any way to bounce a message in the OnSubmittedMessage or the OnResolvedMessage events? 有什么方法可以在OnSubmittedMessageOnResolvedMessage事件中退回消息吗? I am hoping there is some method in the Exchange libraries to easily achieve this, or is there some way to create a new MailItem and send it to the original sender and possibly an admin? 我希望Exchange库中有某种方法可以轻松实现这一目标,还是有某种方法可以创建新的MailItem并将其发送给原始发件人,也可以是管理员?

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

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