如何从c#发送大量电子邮件并检查它们是否已送达
我需要实现用于向公司合作伙伴发送营销电子邮件的 Web 应用程序。有一些要求我不知道如何解决。
- 第一个是如何检查电子邮件是否已送达?我通过 smtp 服务器发送电子邮件。
- 第二个是如何检查电子邮件是否被收件人阅读。
- 第三个问题是如何确保电子邮件不会成为垃圾邮件。
我正在使用.NET 平台。
我将不胜感激对这些问题的任何帮助。
谢谢
I need to implement the web application for sending marketing emails to the partners of the company. There are some requirements I have no idea how to solve it.
- The first one is how to check if the email was delivered? I'm sending emails through smtp server.
- The second one is how to check if the email was readed by receipient.
- the third one is how to ensure, that emails did not go to spam.
I'm using .NET platform.
I will apreciate any help to any of this questions.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TL;DR:您无法使用标准电子邮件协议(即SMTP)执行这些操作。 SMTP 不支持确认、接收或阅读。没有可靠的机制来报告发送失败:如果确定为垃圾邮件,通常会直接忽略。
封闭系统(例如 MS Exchange)可以提供这种功能,其中一个组织可以为系统的所有部分端到端地设置策略。
我建议考虑为什么邪恶位 (RFC 3514) 不是有效的安全措施。
TL;DR: You cannot do any of these using standard email protocols (ie. SMTP). There is no support in SMTP for acknowledgement or receipt or reading. There is no reliable mechanism to report failed to deliver: just ignoring is often done if determined to be spam.
Closed systems (eg. MS Exchange) can offer this kind of functionality where one organisation can set policies for all parts of the system end to end.
I suggest considering why The Evil Bit (RFC 3514) is not an effective security measure.
我能想到的唯一选择是在电子邮件中使用通常所谓的跟踪像素或网络错误。维基百科对此有一个全面的解释,位于 http://en.wikipedia.org/wiki/Web_bug 。
然而,它很容易被绕过。
The only option I can think of is using what's often called a tracking pixel or web bug in your emails. Wikipedia has a comprehensive explanation of this at http://en.wikipedia.org/wiki/Web_bug.
However, it is easily bypassed.