开发者

how to dispose a incoming email and then send some words back using google-app-engine

开发者 https://www.devze.com 2022-12-28 10:06 出处:网络
I read the doc: from google.appengine.api import mail mail.send_mail(sender=\"support@example.com\", to=\"Albert Johnson <Albert.Johnson@example.com>\",

I read the doc:

from google.appengine.api import mail
mail.send_mail(sender="support@example.com",
                  to="Albert Johnson <Albert.Johnson@example.com>",
                  subject="Your account has been approved",
                  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
""")

I know how to send an email using GAE, but how 开发者_如何学编程to check an incoming email and then do something?

Thanks


Here's the page in the docs that deals with how to receive email.

0

精彩评论

暂无评论...
验证码 换一张
取 消