Article - CS236135

SendMessage service on MailServer Thing from mail extension fails with timeout error in ThingWorx Platform

Modified: 25-Apr-2024   


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
This is a printer-friendly version of Article 236135 and may be out of date. For the latest version click CS236135