Re: Getting smtp working using Arduino IDE?

Posted:
Tue Jan 26, 2016 9:30 pm
by asmallri
Erni wrote:Hi,
I have used this Arduino example on a Esp8266-01.
I made a few changes but it works as expected and sends mail without problems.
http://playground.arduino.cc/Code/Email?action=sourceblock&num=2
If you have trouble with this, I will try to find the sketch again, and post it here.
Hi Erni,
If you find the sketch, could you post it?
Re: Getting smtp working using Arduino IDE?

Posted:
Wed Jan 27, 2016 10:08 am
by picstart
Worked perfectly once specific user names passwords in base64 ( web app does the translation into base 64) and smtp server and port are entered.
It is always a good thing when working code is posted...thank you.
I am getting some soft failure messages from my email service provider but it seems to work just fine.
Re: Getting smtp working using Arduino IDE?

Posted:
Thu Jan 28, 2016 2:00 pm
by RainerOchs
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