Thursday, July 26, 2001 02:16 AM
I could able to solve the authentication problem - but can u explain me the following..
when i create the session as
Session ses = Session.getInstance(props)
instead of Session.getDefaultInstance(props)- and set the mail.smtp.auth to 'true'
and on using transport.connect(smtpHost,user,pass) - the authentication worked fine and i could able to send mails
BUT ON using transport.sendMessage(mesage, recipients)
it is thowing me the same Authentication Failed Exception !! Any explanations please!!!