Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107648
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Python email issues |
| Date | Tue, 26 Apr 2016 05:41:14 -0500 |
| Lines | 20 |
| Message-ID | <mailman.103.1461667504.32212.python-list@python.org> (permalink) |
| References | <f4153463-3201-4673-a214-d34d24210409@googlegroups.com> <20160426054114.10a9c963@bigbox.christie.dr> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de y6hVF5H7wl4fhSqazIE2qwc2ugVaz5yZuIY8ABbDyaVw== |
| Return-Path | <python.list@tim.thechases.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; '"""': 0.05; 'rfc': 0.09; 'headers': 0.15; 'properly': 0.15; '"""\\': 0.16; '"test"': 0.16; '-tkc': 0.16; 'body)': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'smtplib': 0.16; 'subject:issues': 0.16; 'wrote:': 0.16; 'trying': 0.22; "python's": 0.23; 'header:In- Reply-To:1': 0.24; "doesn't": 0.26; 'creating': 0.30; "i'd": 0.31; 'subject:': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'charset:us-ascii': 0.37; 'sure': 0.39; 'from:': 0.39; 'to:addr:python.org': 0.40; 'body': 0.61; 'email addr:gmail.com': 0.62; 'between': 0.65; 'received:10.94': 0.84; 'received:23': 0.84; 'subject,': 0.84 |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-MC-Relay | Neutral |
| X-MailChannels-SenderId | wwwh|x-authuser|tim@thechases.com |
| X-MailChannels-Auth-Id | wwwh |
| X-MC-Loop-Signature | 1461667494636:2165850863 |
| X-MC-Ingress-Time | 1461667494635 |
| In-Reply-To | <f4153463-3201-4673-a214-d34d24210409@googlegroups.com> |
| X-Mailer | Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) |
| X-AuthUser | tim@thechases.com |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20160426054114.10a9c963@bigbox.christie.dr> |
| X-Mailman-Original-References | <f4153463-3201-4673-a214-d34d24210409@googlegroups.com> |
| Xref | csiph.com comp.lang.python:107648 |
Show key headers only | View raw
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