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

                      • List of mail fetching issues and solutions

                        Scenario 1 : Mail fetching issue due to Invalid or No PKIX certificate .   Log traces for Mail Fetching  issues Exception when connecting to store.|javax.mail.MessagingException: sun.security.validator.ValidatorException: PKIX path building failed: ...
                      • SSL Installation

                        Do you have a Wildcard or a Multi-domain certificate already running in your other servers and want to reinstall in on ServiceDesk Plus server ?, then click here to find how to export SSL certificate using MMC.  Do you already have a .PFX certificate ...
                      • 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 issue due to Unrecognized SSL exception!

                        Error Trace: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(Unknown Source) Exception from UI: FAILURE  :E- mail settings saved successfully. But error ...
                      • How do I install SSL certificate for ServiceDeskPlus-MSP?

                        Introduction ServiceDesk Plus - MSP can run as a HTTPS service. But it requires a SSL (Secure Socket Layer) Certificate signed by a valid Certificate Authority (CA). By default, on a first-time start-up, it creates a self-signed certificate. This ...