Posts

Showing posts with the label e-mail

Email notifier - Arduino & ESP8266

Hello everyone, today we look at how to easily send e-mails through Arduino using a webserver on internet. We will use Arduino with W5100 Ethernet shield and ESP8266 dev board - NodeMCU in the client mode to send emails through the PHP script that the microcontroller will attach to the client. We will send text that will be pre-defined in the php file to be sent to the specified mail. Most web hosting sites also support extensions as a mail feature, allowing for communication with the SMTP server on localhost (at webhosting service). So we will use the external website on internet that have local SMTP server. With PHP mail function, we can send emails to different email addresses directly from the web site, sending them to the email address of the domain's registrar (your e-mail address) from which these emails will be sent a.k.a. pre-defined e-mail. Tested hostings: php5.sk, sweb.cz PHP file on which we will make request: <?php $msg= "Hello Word!" ; $msg= wor