[docs] [issue26176] EmailMessage example doesn't work

Nathan Harold report at bugs.python.org
Tue May 31 14:50:00 EDT 2016


Nathan Harold added the comment:

emailexample.patch fixes the specific issue mentioned in #26426: the Address constructor is now used as documented.  It changes the final output of the two combined examples (as presented in the documentation) accordingly.

In general it seems as though these examples (the two in in 19.1.14.1) were meant to be read, not run.  To run them, the user would have to supply (1) their own roasted-asparagus.jpg, (2) their own local SMTP server, and (3) their own implementation of imaginary.magic_html_parser.  However, the Address constructor usage issue was real, and I was able to generate the relevant output without (2) and (3).

----------
keywords: +patch
nosy: +nharold
Added file: http://bugs.python.org/file43070/emailexample.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26176>
_______________________________________


More information about the docs mailing list