I’m trying to resurrect an Arduino 8266 based email sender program that was working fine in 2023. Since then I changed email provider service and now with the new email, this program fails at step 32 of 33.
The program successfully:
Logs into local wifi,
Logs into email providers server,
Passes authentication,
Provides to and from email addresses,
Appears to send body text of email, and then the server times out at step 32 of 33
I think the problem is with the terminating string that is supposed to convey the end of the text in the email. In the 2023 version the text was terminated with a simple “.” On a new line, it appears that the 2024 version wants a .
Using the 2023 terminating string yields 550 5.7.1 Message Rejected (104) [F3EC52000E/1721829661-832712]
Using the 2024 terminating string appears to try and send the email , however it times out after about 20 seconds trying.
I have attached both the program as well as a line by line comparison of the SMTP messages for the working and non working versions.
Source code: https://www.dropbox.com/scl/fi/j5mqprrky3tkvt3ln5rk2/ESP8266_Email_Sender_2023NPI.ino?rlkey=sur3pjd8t44hxa5l4ysnxq5c1&st=v7xlhtmw&dl=0
jester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.