ragav s <rax...@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. -- https://mail.python.org/mailman/listinfo/python-list