ESP32 IDF smtp (Simple Mail Transfer Protocol) support

leenowell
Posts: 84
Joined: Tue Jan 15, 2019 1:50 pm

Re: ESP32 IDF smtp (Simple Mail Transfer Protocol) support

Postby leenowell » Sun Feb 09, 2020 7:17 pm

@ESP_Vikram

server is smtp.googlemail.com
port 587

The receiving email address is a yahoo email address and I am viewing it with their online web client.

Hope this helps.

Thanks

Lee.

ESP_Vikram
Posts: 21
Joined: Fri Nov 23, 2018 12:07 pm

Re: ESP32 IDF smtp (Simple Mail Transfer Protocol) support

Postby ESP_Vikram » Thu Feb 13, 2020 3:59 pm

Thanks Lee for the info.
Will fix the issues.

Hope you were successful in running and refactoring the code with C++ as well.

Thanks,
Vikram

leenowell
Posts: 84
Joined: Tue Jan 15, 2019 1:50 pm

Re: ESP32 IDF smtp (Simple Mail Transfer Protocol) support

Postby leenowell » Fri Feb 14, 2020 8:20 am

Hi Vikram

Yes move to C++ has been fine and almost done refactoring the code. I have split the initialisation and send email into separate methods and split the SMTP only code out into a class. I have a personal preference not to use goto (sorry) so am in the middle of reworking the code to remove them.

Thanks again for your help and for writing the example. If you want me to test the updated version please let me know.

Thanks

Lee.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 37 guests