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: java.lang.RuntimeException: Unexpected error: the trustAnchors parameter must be non-empty
Hi Toudidel,

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.
Of course my e-mail adress is valid and server normally works well. Only one thing should be done in other way is that this server uses self-signed certificate (not trusted by third-party side). Below my SMTP send settings:

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.

Please sign in to leave a comment.