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

Опубликовано: 30 Октябрь 2024
на канале: Ralph S Bacon
11,899
188

New! https://ralphbacon.blog

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
https://www.rootusers.com/how-to-enab...

SMTP response codes (anything higher than 399 is an error)
http://www.greenend.org.uk/rjk/tech/s...

SMTP Commands Reference
http://www.samlogic.net/articles/smtp...

Sending email using SMTP
https://users.cs.cf.ac.uk/Dave.Marsha...

Arduino Playground: Time library
http://playground.arduino.cc/Code/time

-------------------------------------------------------------
Sketches & libraries used in this demo
-------------------------------------------------------------
https://github.com/RalphBacon/Arduino...
(Just click the Clone or Download button and download a zip)