Re: can't send email

2010-09-07 Thread Ned Deily
In article , Bob wrote: >[...] > The error I get is this > > python email.py > Traceback (most recent call last): > File "email.py", line 2, in > import smtplib > File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/smtplib.py", line 46, in > import emai

Re: can't send email

2010-09-07 Thread Bob
On Sep 7, 10:27 pm, Chris Rebert wrote: > On Tue, Sep 7, 2010 at 1:12 PM, Bob wrote: > > Hello. > > I'm trying to send email using python 2.6.1 under snow leopard, but I > > can't get it to work. I'm trying one of the many examples I found on > > the web > > > The error I get is this > > > pytho

Re: can't send email

2010-09-07 Thread Chris Rebert
On Tue, Sep 7, 2010 at 1:12 PM, Bob wrote: > Hello. > I'm trying to send email using python 2.6.1 under snow leopard, but I > can't get it to work. I'm trying one of the many examples I found on > the web > The error I get is this > > python email.py > Traceback (most recent call last): >  File "

can't send email

2010-09-07 Thread Bob
Hello. I'm trying to send email using python 2.6.1 under snow leopard, but I can't get it to work. I'm trying one of the many examples I found on the web EXAMPLE 1 import smtplib fromaddr = 'fromu...@gmail.com' toaddrs = 'tou...@gmail.com' msg = 'There was a terrible error that occured and I wan