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
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
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 "
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