is the sender of google-app-engine allow my own gmail..

Posted by zjm1126 on Stack Overflow See other posts from Stack Overflow or by zjm1126
Published on 2010-04-24T19:19:29Z Indexed on 2010/04/24 19:23 UTC
Read the original article Hit count: 346

Filed under:
|
|

my gmail is [email protected]

i can only use [email protected] in the sender=".." ,yes ??

from google.appengine.api import mail

    message = mail.EmailMessage(sender="[email protected]",
                                subject="Your account has been approved")

    message.to = "[email protected]"
    message.body = """
    Dear Albert:

    Your example.com account has been approved.  You can now visit
    http://www.example.com/ and sign in using your Google Account to
    access new features.

    Please let us know if you have any questions.

    The example.com Team
    """

    message.send()

thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine