i think you might be sending the bcc parameter with a blanks value
for eg - send_mail(...,bcc=Blanks_value,...)

hence the above error

cheers !


On Oct 28, 4:07 am, Kevin Burke <[email protected]> wrote:
> I'm writing an app that processes incoming email, so to test it out
> I've been forwarding my incoming email to it. I got the following
> error message the other day:
>
> Empty email address for bcc.
> Traceback (most recent call last):
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/__init__.py", line 513, in __call__
>     handler.post(*groups)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/mail_handlers.py", line 58, in post
>     self.receive(mail.InboundEmailMessage(self.request.body))
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/mail.py", line 557, in __init__
>     self.update_from_mime_message(mime_message)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/mail.py", line 1093, in update_from_mime_message
>     super(InboundEmailMessage,
> self).update_from_mime_message(mime_message)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/mail.py", line 1014, in update_from_mime_message
>     self.bcc = bcc[0]
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/mail.py", line 979, in __setattr__
>     check_email_valid(value, attr)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/mail.py", line 167, in check_email_valid
>     raise InvalidEmailError(reason)
> InvalidEmailError: Empty email address for bcc.
>
> What can I do about this error? My program didn't even get a chance to
> execute and the code threw an error. How does GAE handle BCC email
> addresses? I thought those were supposed to be hidden. Thanks for your
> help,
> Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to