filmov
tv
#75 Send EMAIL from your Arduino! Better HTML! Time Server! More!

Показать описание
Last video (#74) we looked at serving up a web page from your Arduino hooked up to an Ethernet controller module or shield. We had to use some memory-saving techniques to get it all in.
This video (part 2) we look at a better way of serving up web pages from your Arduino, getting the current date & time from a Network Time Protocol (NTP) server, and finally get to send that all-important email to your mailbox using SMTP. Phew!
The HTML we use to send an email is very simple - and can now be read easily as it's formatted correctly as a text file (.htm) on the SD card. It's included in the GitHub zip file
------------------------------------------------------------------------------
There is a lot of supporting information available
------------------------------------------------------------------------------
*How to get enabled TelNet onto a Windows 10 PC*
*SMTP response codes (anything higher than 399 is an error)*
*SMTP Commands Reference*
*Sending email using SMTP*
*Arduino Playground: Time library*
-------------------------------------------------------------
Sketches & libraries used in this demo
-------------------------------------------------------------
(Just click the Clone or Download button and download a zip)
Комментарии