Skip to content

SandUhrGucker/esp8266-sendemail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

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

Examples:

ssl:
SendEmail e("mail.example.com", 465, "login", "password", 5000, true);
e.send("test@example.com", "me@example.com", "subject", "message");

plain no auth:
SendEmail e("mail.example.com", 25, "", "", 5000, false);
e.send("test@example.com", "me@example.com", "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.

About

Send email with esp8266 arduino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%