We should validate email addresses on input (grep for create_original).
We should catch mail exceptions
(http://code.google.com/appengine/docs/python/mail/exceptions.html) in
send_mail.py and log them.
From the logs:
Invalid recipient address
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 703, in __call__
handler.post(*groups)
File "/base/data/home/apps/s~googlepersonfinder/release-18-62b488b8857f.354181518057200390/send_mail.py", line 27, in post
body=self.request.get('body'))
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 390, in send_mail
message.send(make_sync_call)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 894, in send
raise ERROR_MAP[e.application_error](e.error_detail)
BadRequestError: Invalid recipient address.
Original issue reported on code.google.com by lschumac...@google.com on 2 Nov 2011 at 7:49
Original issue reported on code.google.com by
lschumac...@google.com
on 2 Nov 2011 at 7:49