Ask our Experts
Didn't find what you are looking for? Ask our experts!
New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Search in
Please select a country to continue with beta search.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-07-16 04:42 AM
We tested the following code using Gmail SMTP. A 16-character Google App Password was generated and entered as Server_Password. However, the controller still does not send the email, function not return an error, but the email is not received.
VAR
sendMail : BOOL := FALSE;
sendMessage : Email_SendMessage;
res : Email_Errors;
END_VAR
We used:
SMTP server: smtp.gmail.com
Port: 587
Authentication: Auth_Login
TLS: TRUE
STARTTLS: TRUE
Password: Google App Password
The actual Google App Password should not be shared for security reasons.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-07-17 02:27 AM
Hello, looking at the settings you sent, I’d recommend checking two things:
TLS and STARTTLS:
Port 587: STARTTLS TRUE and TLS FALSE
Port 465: TLS TRUE and STARTTLS FALSE
Password:
The Google password must be entered without spaces to avoid errors.
If you continue to have problems even after making these changes, please share the program with me if possible so I can check it and help you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-07-17 02:27 AM
Hello, looking at the settings you sent, I’d recommend checking two things:
TLS and STARTTLS:
Port 587: STARTTLS TRUE and TLS FALSE
Port 465: TLS TRUE and STARTTLS FALSE
Password:
The Google password must be entered without spaces to avoid errors.
If you continue to have problems even after making these changes, please share the program with me if possible so I can check it and help you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-07-20 03:12 AM
Thank you for your help. The issue was caused by spaces in the password. After removing them, it works correctly.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.