question about smtplib

Piet van Oostrum piet at cs.uu.nl
Tue Oct 4 05:51:33 EDT 2005


>>>>> Tim Roberts <timr at probo.com> (TR) wrote:

>TR> nephish at xit.net wrote:
>>> cool. so this line
>>> server = smtplib.SMTP(localhost)
>>> is when i connect ?

>TR> Use the source, Luke.  Source code for every standard module is included on
>TR> your hard disk.  If you look in the __init__ for "class SMTP", your
>TR> question will be answered.

The documentation should be the ultimate reference for the API. The source
is just implementation detail which may change in the future.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list