Bug in email.utils, parseaddr

Roopesh roopesh.raj at gmail.com
Fri May 9 01:55:46 EDT 2008


Hi,

I tried using parseaddr of email.utils, but it gave the following
result when the name had a comma inside.

>>> e = 'K,Vishal <vishal at someaddress.biz>'
>>> from email.utils import parseaddr
>>> parseaddr(e)
('', 'K')

Thanks and Regards,
Roopesh



More information about the Python-list mailing list