On 2016-04-25 22:37, pannis2...@gmail.com wrote: > I am trying send email through smtplib > body = "test" > message = """\ > From: %s > To: %s > Subject: %s > %s > """ % (FROM, ", ".join(TO), SUBJECT, body)
Doesn't the email RFC require a blank line between the headers and the body of the message? I'd start by using Python's built-in tools for creating message bodies to make sure that the message is properly composed. -tkc -- https://mail.python.org/mailman/listinfo/python-list