Re: Setting Return-Path in email

2016-05-24 Thread dieter
ragav s 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 proto

Re: Setting Return-Path in email

2016-05-23 Thread Vincent Vande Vyvre
Le 23/05/2016 10:39, ragav s a écrit : Hi all, How can i add different Return-path and fromid in python.i have pasted the below code for preview def sendMail(sub,fromid,to,cc,html): msg = MIMEMultipart('alternative') msg['Subject'] = sub msg['From'] = fromid msg['To'] = to

Setting Return-Path in email

2016-05-23 Thread ragav s
Hi all, How can i add different Return-path and fromid in python.i have pasted the below code for preview def sendMail(sub,fromid,to,cc,html): msg = MIMEMultipart('alternative') msg['Subject'] = sub msg['From'] = fromid msg['To'] = to toaddress = [to] if cc: msg[