POP3 messages: '=' always followed by '3D'?
Ignacio Vazquez-Abrams
ignacio at openservices.net
Thu Sep 20 14:38:49 EDT 2001
On 20 Sep 2001, Steve Canfield wrote:
> I'm using poplib to retrieve email messages. Whenever the text of the
> message contains an equals sign, it is always followed by '3D'. Why
> is this? To get the original text, do I have to do a
> search-and-replace operation on every line to convert '=3D' to '='?
>
> For example, if the message contains this:
> <abc def='ghi'>
> it will be retrieved as:
> <abc def=3D'ghi'>
>
> Am I missing something painfully obvious here? Any suggestions for a
> easy and fast way to fix this?
Decode it using the quopri module.
--
Ignacio Vazquez-Abrams <ignacio at openservices.net>
More information about the Python-list
mailing list