To send secret key automatically to user via mail, we are using javax.mail package and 
we have in built SMTP servet talking to port 25.
This code of line in CreateNewUserAndConfirm.java:-
----
ActionLoader.getInstance().exec(data, "SendConfirmationEmail");
----
in SendConfirmationEmail we are creating the connection to smpt server at port 25. 
But at the time of execution we are getting this error
----------
There was an unexpected error.javax.mail.SendFailedException: Sending failed;
  nested exception is:
        javax.mail.MessagingException: Could not connect to SMTP host: localhost
, port: 25;
  nested exception is:
        java.net.ConnectException: Connection refused: no further information
---------------
When we are using the same program separately from java console we are getting desired 
result, but when running the same code from turbine then only we are getting this 
error.
so please help us.
thnks
vinayak

_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to