Hi,

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

>>> e = 'K,Vishal <[EMAIL PROTECTED]>'
>>> from email.utils import parseaddr
>>> parseaddr(e)
('', 'K')

Thanks and Regards,
Roopesh
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to