Setting Return-Path in email

dieter dieter at handshake.de
Tue May 24 03:23:27 EDT 2016


ragav s <raxmic at gmail.com> writes:
> How can i add different Return-path and fromid in python.i have pasted the below code for preview

Note that there are two different return paths associated with an
email exchange: one on the protocol level (SMPT - RFC821);
the other at the message level.

The one on the protocol level is used for reports about delivery
problems; the one at the message level is used for replies.

You specify the protocol level return path as "from_addr" in your
call to "smpt.sendmail". The message level return path is
usually defined by the "from:" message header and can be overridden
by the "reply-to" message header.




More information about the Python-list mailing list