アーティクル - CS200624

ThingWorx プラットフォームのメール拡張機能を使用してメールを送信できない

修正日: 26-Dec-2024   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • ThingWorx Platform 4.1 to 9.6

説明

  • MailServer Thing Templateを持つThingSendMessageサービスを使用してメールを送信できない
  • 最新の ThingWorx バージョンにアップグレードした後、電子メールを送信できません。
  • メールサーバー動作していません
  • アラート経由でメッセージを送信できません
  • Gmailサーバー経由で電子メールを送信するように ThingWorx を設定できない
  • メールサーバーの設定に問題がある
  • 安全性の低いアプリを接続するためのテストのために GMail アカウントが更新されましたが、接続が失敗します
  • メールサーバーで 504 ゲートウェイ タイムアウト エラーが発生しました:  

%02 ゲートウェイ タイムアウト エラー

  • サービスをテストするときの Composer のエラー メッセージ:
Unable to Invoke Service Service_Name on Thing_Name : Could not connect to SMTP host: smtp.gmail.com, 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
  • \ThingworxStorage\logs\ApplicationLog.logに表示されるエラー:
[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 ###

Unable to Invoke Service SendMessage on <MailServerThing> : Unable to send error email for logged incident
 Transaction has been marked as a failure for request /Thingworx/Things/<MailServerThing>/Services/SendMessage

[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-8443-exec-10] Error sending email due to  [535 5.7.3 Authentication unsuccessful_].The last server response was [535 5.7.3 Authentication unsuccessful_] with return code [535].The error originated on host [<hostname>]. 
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-8443-exec-10] Unable to send error email for logged incident: failed to connect, no password specified? 
[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-openssl-nio-8443-exec-10] Unable to Invoke Service SendMessage on MailTest : Unable to send error email for logged incident java.lang.Exception: Unable to send error email for logged incident

[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-jsse-nio-8443-exec-1] Error sending email due to [Couldn't connect to host, port: smtp, 25; timeout 30000].The last server response was [null] with return code [0].The error originated on host [HostName].

[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-jsse-nio-8443-exec-1] Unable to send error email for logged incident: Couldn't connect to host, port: smtp, 25; timeout 30000

[L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: Administrator] [S: ] [P: ] [T: https-jsse-nio-8443-exec-1] Unable to Invoke Service SendMessage on MailServerThing : Unable to send error email for logged incident

[L: ERROR] [O: S.c.t.t.m.MailThing] [I: ] [U:] [S: ] [P: ] [T:http-nio-8080-exec-10] Authentication failed: Please make sure the credentials are correct.



最新バージョンはこちらを参照ください CS200624