Article - CS236135

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

Modified: 16-Mar-2021   

Applies To

  • ThingWorx Platform 7.1 to 8.5 SP4

Description

  • Unable to send emails 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 PDF version of Article CS236135 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS236135