@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.
ESP32 IDF smtp (Simple Mail Transfer Protocol) support
-
- Posts: 25
- Joined: Fri Nov 23, 2018 12:07 pm
Re: ESP32 IDF smtp (Simple Mail Transfer Protocol) support
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
Will fix the issues.
Hope you were successful in running and refactoring the code with C++ as well.
Thanks,
Vikram
Re: ESP32 IDF smtp (Simple Mail Transfer Protocol) support
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.
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: Google [Bot], Majestic-12 [Bot] and 134 guests