Receiving Mail in Google App Engine

前端 未结 1 1269
予麋鹿
予麋鹿 2021-02-06 13:34

I am reading the tutorial about Receiving Mail. I updated the app.yaml file as instructed:

application: hello-1-world
version: 1
runtime: python
api_version: 1

         


        
1条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-06 13:53

    Is help@hello-1-world.appspotmail.com a valid google user? GAE can receive/send mails only from the google user of your application. Your code seems correct.

    "Also, why do I need to have a separate script to handle incoming mail? Why can't I put the ReceiveEmail handler in my hw.py" -> the main script is to handle url request, I think is much clearer in this way.

    0 讨论(0)
提交回复
热议问题