I'm having trouble sending emails from my app to Google App Engine. I am experiencing several obstacles to the new program, and I would appreciate your help.
I take this function from the tutorial and for the sender field I put my gmail account, which I used to create the application:
mail.send_mail(sender=" owners_email_acco...@gmail.com ", to=" xxxx...@gmail.com ", subject="test email from app", body="hello")
when I try to do this, I get an error:
InvalidSenderError: Unauthorized sender
But email
sender=" owners_email_acco...@gmail.com ",
- This is the email that I use to enter the application; This is the letter I used to create the application.
The textbook says:
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.
So, the letter I used to create the application should work as a sender. What am I doing wrong? Thanks.
(I asked the same question in the GAE group, but there was no answer)
google-app-engine
Zeynel
source share