Re: sendmail a long message

2007-11-21 Thread Helmut Jarausch
Laszlo Nagy wrote: > Helmut Jarausch wrote: >> 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 buildin

Re: sendmail a long message

2007-11-21 Thread Laszlo Nagy
Helmut Jarausch wrote: > 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 lo

sendmail a long message

2007-11-21 Thread 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 th