
Doc/lib/libsmtplib.tex refers to a mythical has_option() method of SMTP objects. (The string 'has_option' occurs nowhere in Lib/smtplib.py. Neither does 'hasoption'.) I'm pretty sure that it should be talking about has_extn(), ie.: --- lib/libsmtplib.tex 24 Mar 2002 15:41:40 -0000 1.22 +++ lib/libsmtplib.tex 27 Dec 2002 21:03:40 -0000 @@ -138,9 +138,9 @@ Identify yourself to an ESMTP server using \samp{EHLO}. The hostname argument defaults to the fully qualified domain name of the local host. Examine the response for ESMTP option and store them for use by -\method{has_option()}. +\method{has_extn()}. -Unless you wish to use \method{has_option()} before sending +Unless you wish to use \method{has_extn()} before sending mail, it should not be necessary to call this method explicitly. It will be implicitly called by \method{sendmail()} when necessary. \end{methoddesc} This look wrong to anyone? (Or is my CVS out-of-date?) Greg -- Greg Ward <gward@python.net> http://www.gerg.ca/ "Very funny, Scotty. Now beam my *clothes* down."
participants (1)
-
Greg Ward