Send Email knode with ssl

I want to send a mail with smtp host on port 25. It works without SSL, but when SSL is active it is not sending mails.

log shows: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message".

Can someone give me a information about what version of SSL is used?

Thanks.