Sending emails with sendmail doesn't work for large emails
- by Guy
I'm using python's sendmail in the following way:
msg = <SOME MESSAGE>
s = smtplib.SMTP('localhost')
s.sendmail(me, you, msg.as_string())
s.quit()
This usually works fine but it fails when the message is pretty big (around 200 lines). Any ideas what can cause this?