SendMessage service on MailServer Thing from mail extension fails with timeout error in ThingWorx Platform
Applies To
- ThingWorx Platform 7.1 to 9.4
Description
- Unable to send email using mail extension from ThingWorx
- Error seen in <ThingworxStorage>\logs\ApplicationLog.log:
Unable to Invoke Service SendMessage on MailServerThing : Could not connect to SMTP host: SMTP.gmail.com, port: 2 Wrapped javax.mail.MessagingException: Could not connect to SMTP host: SMTP.gmail.com, port: 465; nested exception is: java.net.ConnectException: Connection timed out: connect Cause: Could not connect to SMTP host: SMTP.gmail.com, port: 465