GAE: Send an email from any arbitrary email address in your Google Apps domain.

Referring to the following document on Sending Email on Google App Engine:   https://developers.google.com/appengine/docs/python/mail/sendingmail

It says that the sender of the email (i.e. from the address) can be: Any valid domain account email address such as support@example.com. Domain accounts are accounts outside the Google domain with email addresses that do not end in @ gmail.com or @ APP-ID.appspotmail.com.

This seems to imply that as long as my domain mycompany.com is a Google Apps domain and I added it to my Google Apps CPanel service as a service, I could send an email from any arbitrary address that is not an existing user. such as: whatever@mycompany.com. Please note, I do not have an Application Authentication Type configured as "Google Apps Domain" but rather as "Google Accounts API".

However, this does not work as such. I can only send email if she is an existing Google Apps user and is registered with the app as an administrator.

Please clarify. Thank.

+3


source to share


1 answer


You should continue reading right after the sentence you provided:

Any valid email receiving address of a domain account, such as support@example.com. Domain accounts are accounts outside of the Google domain with email addresses that do not end in @gmail.com or @APP-ID.appspotmail.com. To send an email from an existing domain account, add the domain account as a Developer to your application using the Administration Console. The account is then sent an email with an invite to develop the application, which you must accept to add the account to the application.



Thus, you still need to add the domain user in GAE Admin → Permissions.

+2


source







All Articles