posted 10 years ago
i tried to use exactly the same steps for using Java Mail Api as defined
Sun Site for Implementing Java Mail
This is the code that i have written for this
but some days back i tried using the java mail api using another code which is without any authentication checks or giving the user name and password, it worked. but this does not seem to work. can somebody please help me out here.
[ February 17, 2008: Message edited by: Rakesh Shah ]
Sun Site for Implementing Java Mail
This is the code that i have written for this
but some days back i tried using the java mail api using another code which is without any authentication checks or giving the user name and password, it worked. but this does not seem to work. can somebody please help me out here.
[ February 17, 2008: Message edited by: Rakesh Shah ]
posted 10 years ago
All kinds of things could go wrong when trying to send email. Turn on JavaMail debugging by calling "session.setDebug(true)". That will print all kinds of info to standard out from which you should be able to figure out what's going wrong.
Rakesh Shah
Greenhorn
Posts: 21
Ulf Dittmer
Rancher
Posts: 42975
76
Rakesh Shah
Greenhorn
Posts: 21

Don't get me started about those stupid light bulbs. |