Skip to content Skip to sidebar Skip to footer

"POST /_ah/mail/.+" Returning 404

I have been reading on stack overflow and but so far I have not found a solution that would work for me. I want to be able to handle incoming email to my app and eventually work wi

Solution 1:

Move the general handler

- url: .* 

to after the specific handler

- url: /_ah/mail/info@egg-api.appspotmail.com

ie:

- url: /_ah/mail/info@egg-api.appspotmail.com # route everything to handle incoming
  script: handle_incoming_email.app
  login: admin
- url: .*  # This regex directs all routes to main.app
  script: main.app

Otherwise the general URL rule is applied first, resulting in a 404.


Post a Comment for ""POST /_ah/mail/.+" Returning 404"