Mail sending failure

Mail sending failure

Please help us to resolve following issue urgently.

We are getting following exception while sending mails through our java application. Sometimes mail are going but many times we  are  getting  different types of exceptions

javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is:
java.net.SocketException: Connection closed by remote host
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2324)
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:2311)
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:2227)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2264)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1758)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1257)

==============================================================================

Email configuration are as follows

smtp.from=<registered email>
smtp.server=smtp.zoho.com
smtp.port=465
smtp.SSL=1
smtp.username=< registered email>
smtp.password=<password>