How do I fix error when trying to send test email?

0 votes
asked Apr 29, 2021 by dana-h-4328 (190 points)
Setting up email and get an error when I send a test.  I have confirmed email address and pw are correct.  I am on the free version, so maybe this feature disabled?

Error message:

javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Thank you!


1 Answer

0 votes

This usually happens when the mail server is using a protocol or cipher suite that has been known to have security vulnerabilities.  To check if this is the case you can try to edit the file "$JRE/lib/security/" (where $JRE is the java install path), and then find and comment out with a '#' the following line:

jdk.tls.disabledAlgorithms=SSLv3, TLSv1, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL

Once you have commented it out, you will need to stop the QIE service from the service manager and then start it back up again.  

If this fixes the issue, you may want to contact the system administrator for the mail server and have them update it to use the latest protocols and cipher suites.

answered Apr 29, 2021 by ben-s-7515 (11,910 points)