Mail sending failed_ Unrecognized SSL message, plaintext connection?

Mail sending failed_ Unrecognized SSL message, plaintext connection?

Log error trace:

Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
  nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Solution:

Error trace means that your exchange is expecting the connection in Plain Text but we are trying to connect using SSL/TLS. 

Please check with your exchange admin if Plain Text Connection is enabled on the mail server? If yes, then please set the protocol in Outgoing Settings to 'SMTP' with TLS set to 'No' and port 25 and save the settings. 

Once this is done, please check if mail sending is working.

If the issue persists, immediately zip the logs folder.
Please raise a ticket with us by sending an email to support@servicedeskplusmsp.com. Once you receive a ticket ID, upload the logs in https://bonitas2.zohocorp.com/ along with the ticket ID.

Note: While uploading, choose the product as Servicedesk Plus MSP, provide your email address and mention the ticket#  in the comments box. Also Mention the issue recreated time for sure which will help in quicker analysis.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Sending notification failed

                        In some scenarios the outgoing emails will error with Sending notification failed message in UI and in the logs you can see, 550 5.2.125 The sender has exceeded the maximum number of messages they are allowed to send via client submission either per ...
                      • Mail fetching failed - PKIX path building failed.

                        Cause: If the SSL Certificate in mail server is a self signed certificate then it is not imported in the ServiceDeskPlus-MSP java environment while using the POPS/IMAPS protocol. Error Trace in logs: javax.net.ssl.SSLHandshakeException: ...
                      • Mail sending failed_Unable to relay

                        Error trace in logs: javax.mail.SendFailedException: Invalid Addresses;nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay Possible Cause: The SMTP server does not allow relaying unless you are sending email ...
                      • Mail sending failed - sender thread limit exceeded

                        If you observe the below error traces in the logs, .SMTPSendFailedException: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded [Hostname=XXXX.YY.prod.outlook.com] Then refer the links below to resolve the same, ...
                      • Mail sending failed_Client was not authenticated to send anonymous mail during MAIL FROM

                        Error trace: Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM Please note that, this is not an issue with the application but with the outgoing mail ...