.NET MailMessage 和 SMTPClient 被标记为垃圾邮件?

发布于 2024-07-16 07:51:25 字数 434 浏览 5 评论 0原文

我正在准备基本的 HTML 电子邮件,并使用了带有正确 HEAD 和 BODY 标记的基本 HTML 模板,但由于某种原因,我的用户在收到我发送的电子邮件时遇到了问题。

我正在使用 ASP.NET MailMessage 和 SMTPClient 对象,并且邮件发送得很好,我可以向自己发送测试消息,大多数用户都会收到它们,但有些网站将我的消息标记为垃圾邮件。

我也一次向它们发送一个,而不是多个收件人等。

当我从 Thunderbird 向同一邮件服务器并通过同一帐户发送消息时,一切都很好。 但我通过网络准备的那些被一些人标记为垃圾。

我检查了我的主机并将邮件服务器更正为“本地主机”(这就是网络服务器查看邮件服务器的方式),这清除了一些问题。

我可以做些什么或应该做些什么来确保信息传达得响亮而清晰? 标志、属性等?

蒂亚!

I'm preparing basic HTML email and have used a basic HTML template with proper HEAD and BODY tags, but for some reason, my users are having trouble getting emails from me.

I'm using ASP.NET MailMessage and SMTPClient objects and the mail sends just fine, I can get test messages to myself and most users are getting them, but some sites are flagging my messages as spam.

I'm sending them one at a time too, not multiple recipients etc.

When I send a message from Thunderbird to the same mail server and through the same account, all is fine. But the ones I prepare via the web are getting tagged by some as junk.

I checked with my host and corrected the mailserver to "Localhost" (that's how the webserver sees the mail server) and that cleared up some.

Is there anything I can do or should be doing to make sure the messages come through loud and clear? Flags, attributes, etc?

TIA!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

疧_╮線 2024-07-23 07:51:26

从地址会有帮助。 一旦您被标记为垃圾邮件(即服务器),取消标记就是一项与编程无关的任务。 即邮件服务器记得!

From address will help. Once you're marked as spam (the server that is) it's a non-programming related task to unmark. I.e. the mail servers remember!

等待我真够勒 2024-07-23 07:51:26

我刚刚了解到,您可以做的一件事是使用一些域密钥更新您的 DNS,以验证您的发件人地址中的域是否有效。

http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

One thing you can do which I've just learned is to update your DNS with some domain keys to verify that the domain in your from address is valid.

http://en.wikipedia.org/wiki/DomainKeys_Identified_Mail

独﹏钓一江月 2024-07-23 07:51:26

您使用的是共享主机吗? 如果是这样,您服务器中的某些其他站点可能会发送大量电子邮件(可能是真实的),因此某些服务器可能已将服务器标记为垃圾邮件。

您无法以编程方式告诉服务器您不是垃圾邮件。 您已经在做您能做的事情,即不要一次发送太多消息。

如果邮件列表不太长,那么您可以向每个人发送一封个人电子邮件,说明有些用户报告没有收到电子邮件,因此他们最好检查垃圾邮件文件夹并将电子邮件标记为“不是垃圾邮件”以接收未来的电子邮件。

Are you using a shared hosting? If so some other site in your server may be sending out large emails (may be genuine) so some servres migth have marked the server as SPAM.

There is nothing you can do programtically to the tell the server that you are not spam. You are already doing what you can i.e not sending too many messages at a time.

If the mailing list is not too long then you can sendout a personal email to everyone saying that some users have reported not getting the emails so it is better for them to check SPAM folder and mark the email as "Not spam" to receive future emails.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文