POP3 messages: '=' always followed by '3D'?

Roman Suzi rnd at onego.ru
Thu Sep 20 20:49:52 CEST 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?

"=3D" is quoted-printable for "=". For some reason, your mail server
quotes "=" this way... I doubt it's poplib, because poplib do not
need to escape "=" in message body.

Try pop-ing from some other server.

Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Thursday, September 20, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "A big enough hammer fixes anything" _/

More information about the Python-list mailing list