dcsimg
why does the transport.send(message) NOT working where as transport.sendMessage(message, recipientArray) works?? explanations please
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ananda_tanguturi
Posted On:   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!!!

Re: why does the transport.send(message) NOT working where as transport.sendMessage(message, recipientArray) works?? explanations please

Posted By:   ananda_tanguturi  
Posted On:   Thursday, July 26, 2001 03:07 AM

sorry.. it is tranport.send(message) - which is throwing the exception...!


but transport.sendMessage(message, recipients) works fine.


why is the problem with transport.send(message) It throws me the same Authentication Failed Exception.

About | Sitemap | Contact