Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8308593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:51:28+00:00 2026-06-08T18:51:28+00:00

I am trying to process inbound emails (on dev server) sent to different addresses

  • 0

I am trying to process inbound emails (on dev server) sent to different addresses like:

- url: /_ah/jogo@.*rpg2e\.appspotmail\.com
script: jogo.py

- url: /_ah/contato@.*rpg2e\.appspotmail\.com
script: contato.py

- url: /.*
script: helloworld.py

but I get the following log message:

INFO     2012-07-27 20:05:31,759 dev_appserver.py:2952] "POST /_ah/mail/jogo@rpg2e.appspotmail.com HTTP/1.1" 404 -

I also tried:

- url: /_ah/jogo@rpg2e\.appspotmail\.com
script: jogo.py

- url: /_ah/contato@rpg2e\.appspotmail\.com
script: contato.py

- url: /.*
script: helloworld.py

to no avail.

If I simply use a handle_all it works like a charm, but I would like my script only to handle email sent to the correct handle@rpg2e.appspotmail.com

After spending some time searching the Web and within Stack Overflow, I came across many questions like mine, and the only working solution was to use the catch all approach. Some of them were even answered by Ikai Lane[1] with the same conclusion – only catch all works.

Then again, did anyone have success using multiple handlers?

[1] https://groups.google.com/forum/?fromgroups#!topic/google-appengine-java/UGTkMV9foJ0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:51:29+00:00Added an answer on June 8, 2026 at 6:51 pm

    From the Google App Engine Python – Receiving Mail

    url: /_ah/mail/owner@.*your_app_id\.appspotmail\.com 
      script: handle_owner.py 
      login: admin
    - url: /_ah/mail/support@.*your_app_id\.appspotmail\.com 
      script: handle_support.py 
      login: admin
    

    You are missing the /mail/ portion of the required path. You’re POSTING to /_ah/jogo@rpg2e.appspotmail.com instead of /_ah/mail/jogo@rpg2e.appspotmail.com. Try this instead:

    - url: /_ah/mail/jogo@rpg2e\.appspotmail\.com
      script: jogo.py
    
    - url: /_ah/mail/contato@rpg2e\.appspotmail\.com
      script: contato.py
    

    Lastly, we all get a little tunnel vision every now and then when confronted with a problem, but it’s worth noting the value in error messages. The error message tells us where App Engine is looking when it makes the POST request, which you could match up with your handlers:

    INFO   2012-07-27 20:05:31,759 dev_appserver.py:2952] "POST /_ah/mail/jogo@rpg2e.appspotmail.com HTTP/1.1" 404 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to quickly process inbound messages through a postfix mail server. I need
I was trying some process operations like fork()ing and exec()ing I tried this Example
I am trying to process an rss url, but is giving me an error
I am trying to process an xml file which has several different state groups
trying to work past an issue when using a resque job to process inbound
I am trying to process a dimension using SQL Server 2005 Analysis Services .
I am trying to process IP addresses from traceroute ,which writes to a file
I am trying to process xml files using Hadoop's StreamInputFormat. And I am using
I am trying to process the submitted results for a form, containing data for
I'm trying to process data obtained from a run of diff to an instance

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.