通过我们的应用程序发送的电子邮件将成为垃圾邮件或根本无法发送
当通过我们的 Rails 应用程序发送电子邮件时,他们会在某些电子邮件帐户(hotmail)中发送垃圾邮件,而在其他电子邮件帐户中则根本不会发送。
我们使用 sendmail 来发送电子邮件。发件人电子邮件 ID 为[电子邮件受保护]。造成这种情况的可能原因是什么。我们在哪里检查 sendmail(ubuntu) 的日志。
问候, 潘卡伊
When sending emails through our rails app they are going to spam in some email accounts(hotmail) and not coming at all in others.
We are using sendmail to send the emails. The sender email id is [email protected]. What could be the possible reasons for this. Where do we check the logs for the sendmail(ubuntu).
Regards,
Pankaj
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为它与您的 SMTP 邮件服务器有关。如果您可以使用 Gmail SMTP 服务器发送邮件,您将克服这个问题!
I think its with your SMTP mail server. if you can send the mail using like Gmail SMTP server you will overcome this prob !
检查此列表并查看您的 IP 是否在列表中。将 1.2.3.4 替换为您的 ip。
http://bgp.he.net/ip/1.2.3.4#_rbl
check this list and see if your ip is in the list. Replace your 1.2.3.4 with your ip.
http://bgp.he.net/ip/1.2.3.4#_rbl
检查最终进入垃圾邮件文件夹的邮件的完整标头。您一端的 sendmail 日志不会告诉您任何信息,除非收件人的服务器在 SMTP 级别拒绝您的流量。反垃圾邮件软件通常会添加标题行,显示哪些测试失败 - 也许您发送的 IP 地址已列入黑名单或声誉不佳;也许内容中有些内容看起来像是垃圾邮件。
Check the full headers of the messages that are ending up in spam folders. The sendmail logs on your end won't tell you anything, unless the recipient's server is refusing your traffic at the SMTP level. Anti-spam software will often add header lines showing which tests failed -- maybe the IP address you're sending from is blacklisted or has a poor reputation; maybe there's something about the content that looks spammy.