-->
Page 6 of 6

Re: Getting smtp working using Arduino IDE?

PostPosted: Sun Apr 28, 2019 10:20 am
by Dieter
Hi Rainer,
pls could you share your final code with me ?
thks in advance Dieter



RainerOchs wrote:Yes works great! Thanks. This was the missing part of code I was looking for.

I am currently building a flooding alarm - if the floor is flooded by water I want to have an email / SMS alert. The device will be in deep sleep most of the time, the water sensor will trigger the reset. From there on the device is activated and sends the mail. My mail provider will alert me of the mail by an SMS.

It takes about one minute from start to recipt of email what is fine for alarm applications.
As the device is in deep sleep at below 20µA the battery will last forever.

Rainer