[Tutor] Sending an email alert
Marc
marc at marcd.org
Sat Aug 29 02:37:31 CEST 2009
> On Fri, Aug 28, 2009 at 3:00 PM, Marc<marc at marcd.org> wrote:
> > Hello,
> >
> >
> >
> > I am trying to code an email alert and am running into the following
> error:
> >
> > s = smtplib.SMTP('smtp.marcd.org')
> >
> > AttributeError: 'module' object has no attribute 'SMTP'
>
> Your file 'email.py' is hiding the std lib 'email' module and this is
> creating a circular import and basically a mess :-)
>
> Try calling your program something else.
>
> Kent
That did it - Thanks!!
More information about the Tutor
mailing list