How to read email (custom) header and attachments from InboundMailHandler in Google App Engine
问题 How to read email header in Google App Engine. I am trying to search in google, but can't find any good and working example. 回答1: here the answer. File: app.yaml (you will send email to mymail@myapp.appspotmail.com ) application: myapp version: 1 runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /_ah/mail/mymail@myapp\.appspotmail\.com script: mail.app login: admin - url: .* script: main.app libraries: - name: webapp2 version: "2.5.1" inbound_services: - mail Assuming your app