Google App Engineで自分のアプリからメールを送信できません。私はいくつかの初心者のハードルを経験しており、私はあなたの助けに感謝します。InvalidSenderError:不正な送信者(Google App Engine)
:mail.send_mail(sender="[email protected]",
to="[email protected]",
subject="test email from app",
body="hello")
私はこれをしようとすると、私はエラーを取得:
私はthe tutorialから、私はアプリを作成するために使用される、私は自分のGmailアカウントを入れて「送信者」フィールドに、この機能を取ります
InvalidSenderError: Unauthorized sender
しかし、電子メール
sender="[email protected]",
は私がアプリへのログインに使用するメールです。これは私がアプリの作成に使った電子メールです。
チュートリアルは言う:
The email address of the sender, the From address. The sender address must be one of the following types: The address of a registered administrator for the application. You can add administrators to an application using the Administration Console.
だから私はアプリを作成するために使用される電子メールは送信者として動作するはずです。私は間違って何をしていますか?ありがとう。
(私はGAEグループにsame questionを求めたが、返事はなかった)
[Google Appengine送信メール:\ [Error \]不正送信者](http://stackoverflow.com/questions/11621019/google-appengine-sending-emails-error-unauthorized-sender) – LtWorf