“System.Net.Mail.DeliveryNotificationOptions"只适用于 Exchange? [英] Does "System.Net.Mail.DeliveryNotificationOptions" only work with Exchange?

查看:22
本文介绍了“System.Net.Mail.DeliveryNotificationOptions"只适用于 Exchange?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个在 SharePoint 2010 服务器上运行的应用程序,用于发送电子邮件.我们(发件人)希望接收递送通知,但我们无法在实时系统上检索它们.

We have an application that is running on a SharePoint 2010 server that sends an email. We (the sender) want to receive delivery notifications but we are unable to retrieve them on the live system.

我已将 System.Net.Mail.DeliveryNotificationOptions 设置为 OnSuccess |失败 |延迟,它在我们的内部测试系统上运行良好.我在收件箱中收到通知(这是我使用的发件人地址").我们在内部使用 Exchange 2007.

I've set the System.Net.Mail.DeliveryNotificationOptions to OnSuccess | OnFailure | Delay and it is running fine on our internal test system. I receive the notifications in my inbox (which is the "from address" that I used). Internally we use Exchange 2007.

在具有相同解决方案的客户站点上,未收到通知.他们不使用 Exchange 来从 SharePoint 发送电子邮件,而是使用其他一些 SMTP 服务器.

At the customer site with the same solution no notifications are received. They don't use Exchange for the email delivery from SharePoint but some other SMTP server.

是否只能在 MS Exchange 中使用传递通知选项?或者它是否使用其他邮件服务器也能理解的标准(嗯,是微软)?该文档没有提到任何邮件服务器要求.

Can it be that the delivery notificaiton option only works with MS Exchange? Or does it use a standard (well, it's Microsoft) that other mail servers also understand? The documentation doesn't mention any mail server requirements.

推荐答案

如果客户站点使用的邮件服务器需要Return-Receipt-To"地址,您是否可以尝试添加它?

Could you try adding a "Return-Receipt-To" address in case the mail server in use at the customer site requires it?

AFAIK,.Net.Mail 使用标准的 SMTP 调用,但并非所有 SMTP 服务器都是平等创建的....

AFAIK, the .Net.Mail is using standard SMTP calls but not all SMTP servers are created equally....

这篇关于“System.Net.Mail.DeliveryNotificationOptions"只适用于 Exchange?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆