Repeating 500 error on incoming mail

11 views
Skip to first unread message

Michael

unread,
Aug 13, 2011, 7:16:15 AM8/13/11
to Google App Engine
Hello,

I've noticed some odd activity in my logs, and have discovered that
there's an incoming email that's causing a 500 error
("InvalidEmailError: Empty email address for bcc."). The error is
coming from outside my codebase (see traceback: http://pastebin.com/raw.php?i=PG1ziYza),
which seems to imply that I don't have control over the issue.

When the 500 error occurs, the mail seems to go back into a queue, and
repeat the process again, so I'm not sure how to stop this loop.

Any suggestions?

Cheers,
Michael

Tim Hoffman

unread,
Aug 13, 2011, 8:56:39 AM8/13/11
to google-a...@googlegroups.com
HI

I haven't worked out whats causing your problem, however I do know the stack trace is the from the 
code base in the 1.5.3 pre-release SDK.  

A step you can take to remedy the situation would involve
modifying your own handler and putting a try block around the receive method
and trap the InvalidEmailError and log the mail contents.


You can then see where the offending email is coming from.


I am guessing because the exception isn't trapped the mail goes back in a queue for delivery
so by trapping the exception, you can stop it from being re-delivered.

Hope this helps

Rgds

Tim

Reply all
Reply to author
Forward
0 new messages