Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Add "Received:" header to email msg in correct position? Date: Mon, 5 May 2014 20:58:25 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 19 Message-ID: References: NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1399323505 29261 64.122.56.22 (5 May 2014 20:58:25 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 5 May 2014 20:58:25 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:70935 On 2014-05-05, Ethan Furman wrote: > On 05/05/2014 12:51 PM, Grant Edwards wrote: [...] >> I'd like to do the polite thing and add a "Received:" header, but I >> can't figure out how to get Python's email module to add it in the >> correct place. It always ends up at the "bottom" of the headers below >> From: To: etc. It's supposed to go at the above all the Received: >> headers that where there when I received it. > > I don't know that it matters, but which Python version? Sorry, should have mentioned it: 2.7.5 -- Grant Edwards grant.b.edwards Yow! over in west at Philadelphia a puppy is gmail.com vomiting ...