Article - CS200624

Unable to Send Email Using Mail Extension in ThingWorx

Modified: 26-May-2020   

Applies To

  • ThingWorx Platform 4.1 to 8.3


  • Unable to send email using the SendMessage service on a Thing with the MailServer Thing Template
  • Unable to send messages via Alerts
  • Cannot configure ThingWorx to send emails via Gmail server
  • GMail account was updated for testing to Connect Less Secure Apps but connection still fails
  • Error message in Composer when testing service:
Unable to Invoke Service Service_Name on Thing_Name : Could not connect to SMTP host:, port: 465

Unable to Invoke Service SendMessage on TW.RSM.SFW.Thing.MailServer : <ip address> SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

Unable to send error email for logged incident
  • Errors appearing in \ThingworxStorage\logs\ApplicationLog.log:
YYYY-MM-DD hh:mm:ss.054-0400 [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: <username>] [S: ] [T: http-nio-80-exec-8] [context: com.thingworx.webservices.context.HttpExecutionContext@4d87bcdb][message: Unable to Invoke Service SendMessage on <Thing> : null]

Wrapped com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender ###

This is a PDF version of Article CS200624 and may be out of date. For the latest version click