python - Who is treated as administrator of GAE application? -
According to
, I can send 5000 mails to the admin of the app. But who is considered as an administrator? There are three user-defined pages on the Permissions Permissions page in the Administration section of the GAE console:
-
admin@mydomain.com role
developer
me@gmail.com role
owner
- role with
somebodyelse@gmail.com Together> Viewer
Who is the App Administrator? First two, all of them or just another one?
is one, but there is no part of sending email.
Admin emails are sent to all users, which are defined in project permissions, to be selective There is no way.
To send an email, admin email message from google.appengine.api.mail , if you use email message , They come from your 100 free recipients instead of the email call quota 3,492 9 7 email email quotas.
Example:
Include this import at the top of this script:
from google.appengine.api.mail
AdminEmailMessage (Sender = "your@adminaccount.com", topic = "Hello Administrator
", body = "A test administrator email"). send ()
This will send an email to all users defined in project permissions.
They will be away from your Administrator email quota instead of your recipients who have been emailed , because they can send you the email message then use the class .
except for anyone , Can use it to , CC & amp; BCC .
- role with
Comments
Post a Comment