Sending email via self signed SMTP servers
I try to setup e-mail sending and I use SMTP server with self signed certificate.
Unfortunately when I try to send the message I receive an error:
Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Unfortunately when I try to send the message I receive an error:
Mail server connection failed; nested exception is javax.mail.MessagingException: Can't send command to SMTP host; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Please sign in to leave a comment.
Did you try to send emails from the server to check, if it at least works without integration with YouTrack?
Please, provide us with the screenshot of mailbox setting (Settings page).
Thank you.
Port: 587
Authentication method: normal password
Security: STARTTLS
If you want and it'll be helpful I can create you a temporary mailbox on my server to test the SMTP.