Erroneous inbound email stuck in a loop?

17 views
Skip to first unread message

aviadbd

unread,
Sep 11, 2011, 12:36:04 AM9/11/11
to Google App Engine
Hello!

It seems to me that inbound mail that failed handling (i.e. the
handler threw an exception or otherwise returned the 500 return code)
is stuck in a loop and is resent to the handler every so often. Is
that a normal behavior? If so, how can I tell GAE to stop handling
this mail (as it contained invalid content)?

Thanks!

aviadbd

unread,
Sep 12, 2011, 11:45:23 PM9/12/11
to Google App Engine
Well, after a day or two the messages left the loop and I was sent a
"couldn't send mail" from the Mail Notification Service.

However, it's a waste - the mail was in incorrect form, I could've
done that myself. So my question remains: is there a way to mark the
mail as "handled", and even as "erroneous", so that GAE would stop
handing it?

Thanks!

Tim Hoffman

unread,
Sep 13, 2011, 12:03:12 AM9/13/11
to google-a...@googlegroups.com
Hi

Your handler needs to trap the exception..
The an error won't be delivered back to the mail delivery service.

It is retrying because it can't tell why it got the error from your handler.

Rgds

Tim
Reply all
Reply to author
Forward
0 new messages