Re: [Tutor] sender name in smtplib

2009-04-13 Thread Kent Johnson
On Mon, Apr 13, 2009 at 6:55 PM, George Wahid wrote: > I want to send an email from a google mail account so that the sender > name will be 'User Name' instead of 'usern...@gmail.com' in the inbox. > this is the code I use:         (I'm using python 2.5) import smtplib g=smtplib.SMTP('smtp

Re: [Tutor] sender name in smtplib

2009-04-13 Thread David
George Wahid wrote: I want to send an email from a google mail account so that the sender name will be 'User Name' instead of 'usern...@gmail.com' in the inbox. this is the code I use: (I'm using python 2.5) import smtplib g=smtplib.SMTP('smtp.googlemail.com') g.ehlo();g.starttls();g.ehl

[Tutor] sender name in smtplib

2009-04-13 Thread George Wahid
I want to send an email from a google mail account so that the sender name will be 'User Name' instead of 'usern...@gmail.com' in the inbox. this is the code I use: (I'm using python 2.5) >>>import smtplib >>>g=smtplib.SMTP('smtp.googlemail.com') >>>g.ehlo();g.starttls();g.ehlo() >>>g.login