[issue18557] email address parser desired
Lukas Pirl
report at bugs.python.org
Thu Jul 25 19:51:27 CEST 2013
New submission from Lukas Pirl:
I am missing a non-hidden equivalent of email._parseaddr.AddressList.
AddressList was retained from the former rfc822 module and is still used internally.
Yes, there is email.utils but for what I know, with the provided functionality it is not possible to parse a comma separated list of email addresses (ex. "a at example.com, b at example.com").
Since RFC5322 allow commas in the local part [1], one cannot simply split a list of email addresses by comma and use email.utils.getaddresses.
[1] http://tools.ietf.org/html/rfc5322#section-3.2.3
----------
components: email
messages: 193707
nosy: barry, lpirl, r.david.murray
priority: normal
severity: normal
status: open
title: email address parser desired
type: enhancement
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18557>
_______________________________________
More information about the Python-bugs-list
mailing list