On Apr 16, 10:37 pm, David Richardson <[email protected]> wrote:
> I have a trivial test app to receive and process inbound email.
>
> Here's the app.yaml file:
>
> application: mailindb
> version: 1
> runtime: python
> api_version: 1
>
> inbound_services:
> - mail
>
> handlers:
> - url: .*
>   script: main.py
> - url: /_ah/mail/[email protected]
>   script: handle_all.py
>   login: admin
>
> All attempts to send mail to [email protected] result in
> an immediate permanent delivery failure. What am I missing?
>
> This app was just deployed - is there significant latency for the
> inbound email gateway to be registered for new apps? Or have I misread
> the documentation?

Your .* handler matches all requests; handle_all.py will never get
run.  Change the order of your handlers; .* should always be the last
one specified.

-- 
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.

Reply via email to