Return-Path is set by the SMTP protocol, it's not derived from the message itself. It'll be the Envelope From address is most setups.
Return-Path is set by the SMTP protocol, it's not derived from the message itself. It'll be the Envelope From address is most setups. The proper way to accomplish this is: msg = email.
Message_from_string('\n'. Join( 'To: michael@mydomain. Com', 'From: [email protected]', 'Subject: test email', '', 'Just testing' )) smtp = smtplib.SMTP() smtp.connect() smtp.
Sendmail('something@something. Com', '[email protected]', msg. As_string()).
This works: "From" address is taken from message and "Return-Path" is taken from "from" argument of smtp.sendmail. Quite odd to me but efficient. Thanks for this, I've never seen an answer about that anywhere.
– Pierre Jul 28 '10 at 10:25 NOTE THAT "msg" could be anything that smtplib. Sendmail can accept, it just have to specify a "From" header. – Pierre Jul 28 '10 at 10:27 It's not really that odd if you know what's going on; Return-Path is a header added by the intermediate (end?) MTAs to reflect the actual sender of the message.
Errors/bounces/etc. Should go to the Envelope sender, not the address in From:. – MikeyB Jul 28 '10 at 14:02.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.