gpepe / esp8266-sendemail

Send email with esp8266 arduino.
20 stars 14 forks source link

If you used gmail #1

Open JohnboyK opened 6 years ago

JohnboyK commented 6 years ago

Hi, I used this library for sending e-mail from an ESP-8266 via gmail and received errors everytime. Solution: Sender address and recepient address has to be bracketed with angle brackets. e.g.: const char mail_from = "john.doe@gmail.com"; // !!! Address must be in '<' and '>'
const char
mail_to = "xxxxxx.yyyyyy@gmx.net"; // !!! Address must be in '<' and '>'

Suggest to add this to your documentation.