ESP32 Fails To Send Email Notification
Moderators: grovkillen, Stuntteam, TD-er
ESP32 Fails To Send Email Notification
I am hoping someone can help me with the email notification on 2 ESP32 modules I have recently set up. Previously I have set up email notification on multiple esp8266 and they work perfectly, but using the same email settings from the esp8266 on the esp32 and it fails when sending a test email (see log screenshot). The esp32 modules are on the same network as the working esp8266 modules, one is running ESP_Easy_mega_20231013_normal_ESP32_4M316k and the other is running ESP_Easy_mega_20231013_normal_ESP32_4M316k_LittleFS. I have also tried somee earlier versions of software but still have the same issues. Any help/advise would be much appreciated.
Re: ESP32 Fails To Send Email Notification
- Have you triple-checked your credentials?
- Does the server still accept requests on port 25? (the logging has a presentation issue, it doesn't include the colon)
Can you show your Email configuration page in ESPEasy? (you can mask the username)
- Does the server still accept requests on port 25? (the logging has a presentation issue, it doesn't include the colon)
Can you show your Email configuration page in ESPEasy? (you can mask the username)
/Ton (PayPal.me)
Re: ESP32 Fails To Send Email Notification
The email settings from one of my working ESP8266 modules
The email settings from one of the non working ESP32 module, the only difference between the two is I have different subject lines.
The email settings from one of the non working ESP32 module, the only difference between the two is I have different subject lines.
Re: ESP32 Fails To Send Email Notification
Some aditional info I just discovered, if I reboot the ESP32 it successfully sends test emails but after being up a few minutes all test emails fail again.
Re: ESP32 Fails To Send Email Notification
Is there a rate limiter active on your mail host?
Re: ESP32 Fails To Send Email Notification
Have you possibly enabled the ECO mode on the Tools/Advanced settings page? As that may cause it to have poor WiFi connectivity, so it might be unable to send the mails out.
For testing you could install a hmail server (windows) (or other SMTP server on Mac or Linux), locally, and use that as the target for your notifications, so you can monitor if it keeps sending the mails.
For testing you could install a hmail server (windows) (or other SMTP server on Mac or Linux), locally, and use that as the target for your notifications, so you can monitor if it keeps sending the mails.
/Ton (PayPal.me)
Re: ESP32 Fails To Send Email Notification
Ok, I sent 5 successfull test emails from the esp8266 then 2 unsuccessful emails from the esp32. I then sent another 5 successful emails from the esp8266.
I checked eco mode and it is turned off.
I will try and set up a hmail server this weekend and do some testing.
One other thing I just thought of, the esp8266 and esp32 modules are on the same network but connected to different wifi routers. I might move the esp32 modules over to the other wifi and see if that makes a difference.
I checked eco mode and it is turned off.
I will try and set up a hmail server this weekend and do some testing.
One other thing I just thought of, the esp8266 and esp32 modules are on the same network but connected to different wifi routers. I might move the esp32 modules over to the other wifi and see if that makes a difference.
Re: ESP32 Fails To Send Email Notification
Wow, I think that fixed it.
I swapped the two esp32 modules over to the other wifi router and now they have sent 20 emails each without fail. I think I will throw my router I have out in the shed in the bin and replace it with something decent.
Thanks for all your input/help guys, much appreciated.
I swapped the two esp32 modules over to the other wifi router and now they have sent 20 emails each without fail. I think I will throw my router I have out in the shed in the bin and replace it with something decent.
Thanks for all your input/help guys, much appreciated.
Re: ESP32 Fails To Send Email Notification
What kind of router is it?
Is it something with 2.4 and 5 GHz WiFi band?
If so, then you might want to check a few settings on the router.
But first you can try to force the WiFi mode on ESPEasy to 802.11g (N.B. on some ESP8266 builds this checkbox was effectively inverted due to a bug, but on ESP32 this should work just fine)
Is it something with 2.4 and 5 GHz WiFi band?
If so, then you might want to check a few settings on the router.
But first you can try to force the WiFi mode on ESPEasy to 802.11g (N.B. on some ESP8266 builds this checkbox was effectively inverted due to a bug, but on ESP32 this should work just fine)
Re: ESP32 Fails To Send Email Notification
The shed router is a Arcadyan LH1000, the house router (working one) is a Technicolor DJA0231 (both look identical). The settings are pretty limited as they are just ISP supplied routers, although I have gained root access to the Technicolor and can tinker with it if needed.
I set both esp32 to force wifi b/g but no joy, emails still fail connected to shed router ( I think I tried this a while back as well).
I was given another Technicolor DJA0231 recently so I might just set that up and see how the esp32 go.
I set both esp32 to force wifi b/g but no joy, emails still fail connected to shed router ( I think I tried this a while back as well).
I was given another Technicolor DJA0231 recently so I might just set that up and see how the esp32 go.
Re: ESP32 Fails To Send Email Notification
I have set up the other Technicolor in the shed and everything is working great now, there must be something about the Arcadyan LH1000 that the ESP doesnt like.
Re: ESP32 Fails To Send Email Notification
Does it have "band steering" enabled? -> Disable
Does it have IGMP snooping enabled? -> Disable
Does it have multicast related setting? Either disable it or see if there is something related to forwarding unknown multicast traffic. If it has -> Enable
Does it have IGMP snooping enabled? -> Disable
Does it have multicast related setting? Either disable it or see if there is something related to forwarding unknown multicast traffic. If it has -> Enable
Re: ESP32 Fails To Send Email Notification
Band steering was disabled
IGMP Snooping- don’t remember seeing this setting
Multicast- don’t remember any related settings
I will set the arcadyan up again tonight and go through all the settings, this router does have a basic gui though and I only used it because it was free.
IGMP Snooping- don’t remember seeing this setting
Multicast- don’t remember any related settings
I will set the arcadyan up again tonight and go through all the settings, this router does have a basic gui though and I only used it because it was free.
Who is online
Users browsing this forum: No registered users and 3 guests