Note that there are some explanatory texts on larger screens.

plurals
  1. POGAE send email from gmail account
    primarykey
    data
    text
    <p>How can I send email from a Gmail account using Google-App-Engine? The sender address is the problem, this is understandably restricted because of spam. (Restrictions are here: <a href="https://developers.google.com/appengine/docs/java/mail/usingjavamail#Senders_and_Recipients" rel="nofollow noreferrer">https://developers.google.com/appengine/docs/java/mail/usingjavamail#Senders_and_Recipients</a> )</p> <p>Aim: I want users to come to the web site, register to use the service (via OAuth). And the service will be able to send email with the "sender address" set to the users email address. (Service: spreadsheet formula that sends email)</p> <p><strong>Related question:</strong> <a href="https://stackoverflow.com/questions/9446972/accessing-gmail-account-from-google-app-engine">Accessing Gmail account from Google App Engine</a></p> <p>Options: </p> <p>1) Avoid JavaMail: Email via HTTP looks like it would work for a small fee. Could use: Amazon SES aws.amazon.com/ses/ </p> <p><strong>not possible</strong> 2) contextIO - <a href="https://stackoverflow.com/questions/9446972/accessing-gmail-account-from-google-app-engine/9454450#9454450">some people</a> have suggested contextIO. Update: does not send email, see <a href="http://context.io/docs/2.0" rel="nofollow noreferrer">http://context.io/docs/2.0</a></p> <p>3) OAuth - it looks like you can use OpenID and send email as the current logged in user. So maybe offline sending with OAuth is possible. (Users API <a href="https://developers.google.com/appengine/docs/java/users/" rel="nofollow noreferrer">https://developers.google.com/appengine/docs/java/users/</a>)</p> <p>4) sender verification - (Only usable to test things out, not a production quality solution) App Engine has "Invite a user to collaborate on this application" as viewer. Maybe there is a API for adding collaborators. </p> <p><strong>Picked</strong> 5) Sockets/SMTP trial - (authenticated SMTP only) in Sep 2012 google posted <a href="http://googleappengine.blogspot.com.au/2012_09_01_archive.html" rel="nofollow noreferrer">http://googleappengine.blogspot.com.au/2012_09_01_archive.html</a> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload