I have successfully sent an email using the Google App Engine. However, the only email address I can get is the gmail address, which I called the site administrator. I run the application in my own domain (purchased and supported using Google Apps). I would like to send an email from my domain. Here's the code (or something similar to it):
from google.appengine.api import mail sender = " myaddress@google.com " sender_i_want = " myaddress@mygoogleapp.com " mail.send_mail(sender=sender, to="Albert Johnson < Albert.Johnson@example.com >", subject="Your account has been approved", body=some_string_variable)
And the error I get when I try to send it from my own domain is "InvalidSenderError: Unauthorized sender". I own a domain, I really allow my domain to be used for sending mail, I just need to know how to convince App Engine that this is true.
source share