I am building a device which will send the Email in case of any fault, I am using smtp example present in ESP IDF and it works fine for Gmail server but whenever I tried with any other smtp server Emails are not getting delivered. I can see them into my sent folder but over there I can see that the emails triggered by the esp32 are not getting delivered because server identify that emails as spam.
I don't have the server certificate so i have disabled the server certificate validation. Here I have attached my code this works for gmail server but not for other smtp servers
SMTP
-
- Posts: 1709
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: SMTP
Probably because your emails don't look like non-spam emails, e.g.the emails [...] are not getting delivered because server identify that emails as spam.
"From: \"Anonymous\"ESP32 SMTP Client"
You could try and provide the real sender email address here, then you may have a chance to white-list that sender at the receiver.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 78 guests