Unable to send email due to lack of SSL encrytption

I am developing an web application which can send mail,using IU SMTP server through web

page(JSP).However i am getting an exception :-

"javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection"

I want to know how to send a message encrypted using SSL.

Please reply ASAP

thanks

IDIN

[342 byte] By [Idina] at [2007-10-3 5:20:34]
# 1
http://java.sun.com/products/jsse/index-14.htmlThat will allow you to use SSL within java.
Krashera at 2007-7-14 23:27:29 > top of Java-index,Java Essentials,Java Programming...
# 2

> I am developing an web application which can send

> mail,using IU SMTP server through web

> page(JSP).However i am getting an exception :-

>

> "javax.net.ssl.SSLException: Unrecognized SSL

> message, plaintext connection"

>

> I want to know how to send a message encrypted using

> SSL.

>

Wild guess here....

What exactly makes you think that you are supposed to be sending in SSL?

Versus that you are in fact sending in SSL and the server that you are sending to does not expect that?

As far as I know you can't get an SSLException unless you are in fact trying to do something with SSL.

jschella at 2007-7-14 23:27:29 > top of Java-index,Java Essentials,Java Programming...