Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107648
| From | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Python email issues |
| Date | 2016-04-26 05:41 -0500 |
| Message-ID | <mailman.103.1461667504.32212.python-list@python.org> (permalink) |
| References | <f4153463-3201-4673-a214-d34d24210409@googlegroups.com> <20160426054114.10a9c963@bigbox.christie.dr> |
On 2016-04-25 22:37, pannis2013@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python email issues pannis2013@gmail.com - 2016-04-25 22:37 -0700 Re: Python email issues Tim Chase <python.list@tim.thechases.com> - 2016-04-26 05:41 -0500
csiph-web