Re: Sending email with Micropython
Posted: Fri Sep 28, 2018 8:44 am
I'm trying to send email with Wemos D1 Mini ESP8266 loaded with micropython.
I found some examples googling the internet.
Most examples start with
>>>import smtplib (or >>>import curl)
Already in the first line I fail.
--------------------------------------------------------
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'smtplib'
--------------------------------------------------------
Q: how do I import the module smtplib (or the module curl) ?
I found some examples googling the internet.
Most examples start with
>>>import smtplib (or >>>import curl)
Already in the first line I fail.
--------------------------------------------------------
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'smtplib'
--------------------------------------------------------
Q: how do I import the module smtplib (or the module curl) ?