H
Helmut Jarausch
Hi,
to send a possibly long email I have seen a solution
which does os.popen to an external sendmail program and
then writes the message into that pipe.
I wonder if it possible to use smtplib.SMTP.sendmail
but this requires building the complete body as one long
string in memory before calling this.
Is there an alternative solution, e.g. where
smtplib.SMTP.sendmail calls a generator.
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
to send a possibly long email I have seen a solution
which does os.popen to an external sendmail program and
then writes the message into that pipe.
I wonder if it possible to use smtplib.SMTP.sendmail
but this requires building the complete body as one long
string in memory before calling this.
Is there an alternative solution, e.g. where
smtplib.SMTP.sendmail calls a generator.
Many thanks for a hint,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany