Fehler beim Senden von E-Mails über die Mail-Erweiterung in der ThingWorx-Plattform und den ThingWorx-Apps: Fehlermeldung „Fehler-E-Mail für protokollierten Vorfall konnte nicht gesendet werden“
Betrifft
- ThingWorx Platform 4.1 to 10.0
Beschreibung
- E-Mails können nicht über den SendMessage- Dienst auf dem Thing- Projekt mit der MailServer-Thing- Vorlage versendet werden.
- Mailserver funktioniert nicht
- Beim Versuch, E-Mails über die benutzerdefinierte SMTP-Domäne zu senden, wurde in den Protokollen ein Authentifizierungsfehler festgestellt.
- Nachrichten können nicht über die Benachrichtigungsfunktion gesendet werden.
- ThingWorx kann nicht so konfiguriert werden, dass E-Mails über den Gmail- Server gesendet werden.
- Ich habe ein Problem mit der Mailserver-Konfiguration.
- Das Gmail-Konto wurde zu Testzwecken für die Verbindung mit weniger sicheren Apps aktualisiert, aber die Verbindung schlägt weiterhin fehl.
-
504 Gateway Time outim Mailserver- Thing:
- Fehlermeldung in Composer beim Testen des Dienstes:
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
- Fehler, die in \ThingworxStorage\logs\ApplicationLog.log angezeigt werden:
L: ERROR] [O: ctwBaseService] [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: EcqlcLogger] [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: EcqlcLogger] [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: EcqlcLogger] [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: EcqlcLogger] [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: EcqlcLogger] [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: EcqlcLogger] [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: ScttmMailThing] [I: ] [U:] [S: ] [P: ] [T:http-nio-8080-exec-10] Authentication failed: Please make sure the credentials are correct. Error sending email due to [IOException while sending message].The last server response was [354 go ahead_] with return code [354].The error originated on host [w6035]. Unable to send error email for logged incident: IOException while sending message