Skip to content Skip to sidebar Skip to footer

Is The Sender Of Google-app-engine Allow My Own Gmail

my gmail is zjm1126@gmail.com i can only use zjm1126@gmail.com in the sender='..' ,yes ?? from google.appengine.api import mail message = mail.EmailMessage(sender='hahahaha@gm

Solution 1:

There are two kinds of FROM addresses allowed by GAE's e-mail API:

  • The currently authenticated Google user of your app (if your app uses Google auth and someone's logged in)
  • The Google address of any administrator of the app engine app (e.g. you, as the owner)

"If you want to send email on behalf of the application but do not want to use a single administrator's personal Google Account as the sender, you can create a new Google Account for the application using any valid email address, then add the new account as an administrator for the application. To add an account as an administrator, see the "Developers" section of the Admin Console."

http://code.google.com/appengine/docs/java/mail/overview.html

Post a Comment for "Is The Sender Of Google-app-engine Allow My Own Gmail"