Re: [BangPypers] Change the "From:" address using python smtplib

2012-10-30 Thread Baskar K
Hi It works, Great!!!. Thanks... Regards Baskar K On Tue, Oct 30, 2012 at 10:36 PM, Gopalakrishnan Subramani < gopalakrishnan.subram...@gmail.com> wrote: > As per SPF, http://en.wikipedia.org/wiki/Sender_Policy_Framework and email > server handling, your emails will be placed in j

[BangPypers] Change the "From:" address using python smtplib

2012-10-30 Thread Baskar K
Hi, I am new to python, and I am writing the code to send a mail. It works but i need to change the from address of the mail but it takes the authentication mail id as from address. Please help me import smtplib, os from email.MIMEMultipart import MIMEMultipart from email.MIMEBase impo