Yet more SMTP

exarkun at divmod.com exarkun at divmod.com
Tue Oct 19 09:17:26 EDT 2004


On Tue, 19 Oct 2004 09:36:29 +0200, Gerhard Haering <gh at ghaering.de> wrote:
>On Tue, Oct 19, 2004 at 12:03:08AM +0000, LutherRevisited wrote:
> > [...]
> > s = smtplib.SMTP('smtp.aol.com', 587)
> > [...]
> >         s.docmd('AUTH', 'PLAIN')
> > [...]
> 
> Don't reinvent the wheel. Use .login instead(). Also, PLAIN doesn't
> mean you send the password in plain text (it's encoded with base64).

  Sure it does.  "Plain text" and "base64 encoded" aren't different in a way that makes any difference.

  Jp



More information about the Python-list mailing list