SMTPLIB module - how to add subject ?

Ignacio Vazquez-Abrams ignacio at
Sat Sep 15 22:51:18 CEST 2001

On Sat, 15 Sep 2001, A wrote:

> I tried
> 11.11.2 SMTP Example from Python docs.
> Does anyone know how I can add subject to an email send by this example?
> Thank you very much for help

Exactly the same way that the example adds the "To:" and "From:" headers to
the message.

Ignacio Vazquez-Abrams  <ignacio at>

More information about the Python-list mailing list