邮件 GAE 未发送但

Mail GAE not sending but

我在使用 GAE 中的 JavaMail 服务发送邮件时遇到问题。 我做了文档中的所有代码,我在线调试它,它工作正常,它计算在配额部分发送的邮件问题是,我没有收到任何东西,也检查了帐户发件人,它是一样的没有任何发送邮件的痕迹。我为一些邮件地址尝试了这个,但它也不起作用。 有人遇到过这个问题吗?对此有解决方案吗?

问题是邮件在 gmail 帐户上作为垃圾邮件发送。 阅读文档:https://cloud.google.com/appengine/docs/java/mail/#Java_Authenticating_mail_DKIM

用于发送邮件的电子邮件必须是应用程序的成员。这可能是问题所在……是我的问题。

https://cloud.google.com/appengine/docs/python/mail/ link 与 python 有关,但可以肯定的是,相同的电子邮件规则适用于 Java。

For security purposes, the sender address of a message must be one of the >following:

The Gmail or Google Apps Account of the user who is currently signed in Any email address of the form anything@appname.appspotmail.com or >anything@appalias.appspotmail.com Any email address listed in Email API Authorized Senders found in the App >Engine Settings page of the Developers Console