【发布时间】:2010-04-24 19:19:29
【问题描述】:
我的 gmail 是 zjm1126@gmail.com
我只能在发件人=“..”中使用zjm1126@gmail.com,是吗??
from google.appengine.api import mail
message = mail.EmailMessage(sender="hahahaha@gmail.com",
subject="Your account has been approved")
message.to = "zjm1126@qq.com"
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()
谢谢
【问题讨论】:
标签: python google-app-engine email