AppEngine python 发送电子邮件 api 被 Gmail 电子邮件阅读器标记为垃圾邮件
我们使用 appengine 的 python send_mail api 发送电子邮件。
有什么方法可以解释为什么一封仅发送给一个收件人的电子邮件会被标记为垃圾邮件。这似乎只发生在 appengine 的 python send_mail api 发送到 Gmail 时。
在我们的例子中,我们作为 appengine 应用程序的管理员之一发送电子邮件。
而且该电子邮件是用户刚刚购买的订单的确认信,因此绝对不是垃圾邮件。
谁能帮忙解决这个问题吗?
这看起来很奇怪,因为似乎只有 GMail 用户报告了这个问题,而且我们是从 appengine(所有 Google 服务器)发送的。我喜欢 Google,但有时 Google 对自己比对其他人更严格:)
我添加了 spf TXT 记录到 DNS,例如“v=spf1 include:_spf.google.com ~all” (我希望这会有所帮助)
我尝试在电子邮件中添加列表取消订阅标头,但应用程序引擎 python 发送邮件似乎不支持此标头。
谢谢, 拉尔夫
We send email using appengine's python send_mail api.
Is there any way to tell why an email that is sent to only one recipient would be marked as SPAM. This seems to only happen when appengine's python send_mail api sends to Gmail.
In our case we are sending email as one of the administrators of our appengine application.
And the email is a confirmation letter for an order that the user just purchased, so it is definitely NOT SPAM.
Can anyone help with this?
It seems odd because it is only GMail users that seem to be reporting this issue and we are sending from appengine (All Google servers) I love Google but sometimes Google is stricter to itself than to others :)
I've added the spf TXT record to DNS such as "v=spf1 include:_spf.google.com ~all"
(I'm hoping that will help)
I've tried to add a List-Unsubscribe header to the email but it seems app engine python send mail does not support this header.
Thanks,
Ralph
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的猜测是,邮件的内容对于 Google 来说看起来是“垃圾邮件”,但您可以做一些可能对您有帮助的事情。
我建议您,因为这是一封确认邮件,请为您的应用程序添加另一个管理员,例如:
[电子邮件受保护]
并将其用于确认电子邮件。在正文中添加更多文本并包含取消订阅链接,这样您的用户将有可能不会从您的应用程序收到更多电子邮件。也许您不喜欢最后一部分,但您必须向用户提供该选项,这样这封电子邮件就不会被标记为垃圾邮件。My guess would be that the content of the mail looks "spammy" for Google, but you can do some things that might help you.
I would suggest you, since this is a confirmation mail, add another admin for your app an email like:
[email protected]
and use that one for the confirmation emails. Add more text to the body and include the unsubscribe links as well, so your users will have the possibility to not receive more email from your app. Maybe you wouldn't like the last part, but you have to give that options to your users, so this email won't be marked as SPAM.