/_ah/mail/<address> will get the mail posted to it by the email service when it's sent to your application. Mail sent to your appspotmail.com address will never be available to your development server, and you shouldn't be visiting the _ah/email address yourself. To simulate email in the dev server, you need to use the dashboard at http://localhost:8081/_ah/admin/
On Nov 19, 1:20 pm, Zeynel <[email protected]> wrote: > I'm reading the Receiving Email tutorial but so far I was unable to > make it work. I dont understand how to access the received email. Can > somebody explain? > > I created the app.yaml and I added inbound services and url mapping: > > application: hello-1-world > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: /favicon.ico > static_files: static/images/favicon.ico > upload: static/images/favicon.ico > > - url: /_ah/mail/.+ > script: handle_incoming_email.py > login: admin > > - url: /.* > script: hw.py > > inbound_services: > - mail > > and I created a handle_incoming_email.py script in the same directory > as my app hello-1-world. > > As far as I understand it, next I will send an email from the > development consolehttp://localhost:8081/_ah/admin/inboundmail > > to [email protected] > > And my script handle_incoming_email.py should handle the incoming > mail. > > So I sent the email to [email protected] > > then in the development server I load > > http://localhost:8081/_ah/mail/[email protected] > > but there is nothing there. What am I missing? > > Can you explain how this is supposed to work? Many thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
