I think I found the solution:

http://code.google.com/p/googleappengine/issues/detail?id=2288


On Fri, Aug 5, 2011 at 9:51 AM, Rishi Arora <[email protected]>wrote:

> I have an inbound mail handler in my python GAE app, that logs the sender
> of the incoming email like this:
>
> class MyMailHandler(InboundMailHandler):
>     def receive(self, message):
>         . . .
>         logging.info('email from [' + message.sender + '] ' +
> str(type(message.sender)))
>
>
> And for some of my received emails, I see something like this in the logs:
>
> email from ["=?utf-8?B?SmVubnkgU3RlZWxl?=" <[email protected]>] <type
> 'str'>
>
> Whats with the utf-8 stuff within the quotes? (note that I have changed the
> actual email address).  Python reports "message.sender" as a str type, not
> unicode.  Why am I not getting the name of the actual sender.  In most
> emails I would see the following in the logs:
>
> email from ["Someone Somewhere" <[email protected]>] <type 'str'>
>
> Any clues?
>
>

-- 
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