Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18347

Re: How to send an email using Galileo board?

$
0
0

Thanks, works just fine.

One thing I noticed don't name script email.py it will conflict with Python library which has file with same name and script. and will generate AttributError.

root@clanton:~# python email.py

Traceback (most recent call last):

File "sendemail.py", line 1, in <module> import smtplib

File "/usr/lib/python2.7/smtplib.py", line 46, in <module> import email.utils

  File "/home/root/email.py", line 29, in <module>

AttributeError: 'module' object has no attribute 'SMTP'


Use whatever.py


 


Viewing all articles
Browse latest Browse all 18347

Trending Articles