Re: Access to default session denied at javax.mail.session.getDefaultInstance
Thursday, May 15, 2003 10:28 PM
I am getting the same problem in sending the e-mail using the simmilar code. Have you got any solution for this?
One strange problem I am facing is when I test my code on my local machine then the authentication gets successful and e-mail is sent properly. But when I upload the same code on the web server then surprisingly the code stop running and gives the error - "Access to default session denied at javax.mail.session.getDefaultInstance".
What do you suggest? What may be the solution? Plz help me if you got soltion for this problem.
- Harsh Sugandhi