[Email-SIG] question about the best way to check if an email is valid (RFC compliant)
R. David Murray
rdmurray at bitdance.com
Wed Jul 6 20:41:40 CEST 2011
On Wed, 06 Jul 2011 14:35:31 +0200, xavier delannoy <xavier.delannoy at cloudmark.com> wrote:
> If an error is raised, and if I won't get a message object, then I'm
> fine. But with Python 2.7.1, I get a message object and the attribute
> defects is empty.
Please file a bug report about this at bugs.python.org and add me (tracker
id r.david.murray) to the nosy list. It may not be fixable as a bug since
the current email package makes no promises about detecting all errors.
However, since as you point out the resulting message structure is
changed, it probably is classifiable as a bug. I'll take a look at
the issue when I get a chance, or you could propose a patch if you are
motivated to do so.
--
R. David Murray http://www.bitdance.com
More information about the Email-SIG
mailing list