Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 694 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 694 Bytes

Send email with esp8266/Arduino, smtp auth and ssl support.

Examples:

ssl:
SendEmail e("mail.example.com", 465, "login", "password", 5000, true);
e.send("[email protected]", "[email protected]", "subject", "message");

plain no auth:
SendEmail e("mail.example.com", 25, "", "", 5000, false);
e.send("[email protected]", "[email protected]", "subject", "message");

(!) to debug the communication, uncomment line 4 in sendmail.h and add: #define DEBUG_EMAIL_PORT Serial

Info: today I spend much Time to connect to gamil. At the End I give up. google doesnt want unconfirmed/unregisteres email-sender-clients without 2FA. Just take an other smtp-provider.