How can I do it?

2010/12/11 sajal <[email protected]>

> you need to parse it and decode it...
>
> 'VGVzdG8=' becomes 'Testo'
>
> http://docs.python.org/library/base64.html
>
> On Dec 11, 9:58 pm, Massimiliano <[email protected]>
> wrote:
> > Hi,
> > Can someone help me?
> > I'm handling a received email and I want to store the body of the mail
> (the
> > message written in it).
> > This is the line code:
> > aventino.testo = str(mail_message.body)
> > In the datastore viewer I found:
> > testo ="*From nobody Sat Dec 11 14:54:28 2010 MIME-Version: 1.0
> > Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding:
> base64
> > VGVzdG8="*
> >
> > I can't understand how I can take the text from the email
> >
> > Thanks
> >
> > Massimiliano
> >
> > --
> >
> > My email: [email protected]
> > My Google Wave: [email protected]
>
> --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 

My email: [email protected]
My Google Wave: [email protected]

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