[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

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

2012-10-30 Thread Gopalakrishnan Subramani
As per SPF, http://en.wikipedia.org/wiki/Sender_Policy_Framework and email server handling, your emails will be placed in junk mails in most of the mail server. As per your script, you send email from an email id which is different than the one which is used for authentication. Most of the SMTP s

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 junk mails in m