smtplib and passwd's
Fredrik Lundh
fredrik at pythonware.com
Thu Jul 18 11:27:15 EDT 2002
Rajarshi Guha wrote:
> I'm using smtplib to let my script send some mail through my smtp
> server. Howveer I need a logon and passwd for my smtp server - how does
> smtplib handle such servers? Where can I specify my username and
> password?
did you look in the fine manual?
http://www.python.org/doc/current/lib/SMTP-objects.html
login(user, password)
Log in on an SMTP server that requires authentication.
The arguments are the username and the password to
authenticate with.
</F>
More information about the Python-list
mailing list