Little update: - In fact specifying the full email addresses after the /_ah/mail/ prefix works! - I was fooled by the empty path info :( - It seems to me the given example has not been tested ;)
Note that there's a typo in the example given at http://code.google.com/appengine/docs/java/mail/receiving.html: 2 mapping definitions have the same name “handleowner”. A+, Dom -- On Jan 28, 1:39 pm, Dom Derrien <dominique.derr...@gmail.com> wrote: > I've problems setting up specific servlets to respond to mail > messages... > > I've followed the directions given at > http://code.google.com/appengine/docs/java/mail/receiving.html > to setup a series of three filters: > - /_ah/mail/maezel* => MailResponder > - /_ah/mail/twitter* => TwitterResponder > - /_ah/mail/* => CatchAllHandler > > Messages sent to addresses matching the first filter are correctly > forwarded. > Messages sent to addresses matching the second filter are always > forwarded to the CatchAllHandler! > > I've tried to specify the full email addresses (like: > mae...@test.appspotmail.com) but then everything go to the > CatchAllHandler. > > Is it possible the star (*) filter only works after a slash (/)? > > As a work-around, I can forward everything to the CatchAllHandler and > do there a manual dispatch by checking the content of the > request.getPathInfo(). However, this is not nice and I want to > understand the issue root cause! > > Any idea? > > A+, Dom -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.