JAVA/JEE
[java mail] access to default session denied 에러발생시...
tornado
2007. 7. 5. 15:35
[펌] http://forum.java.sun.com/thread.jspa?threadID=247536&messageID=913161
i got the solution for the problem myself
if any one encounter same problem ,
Just change
session = javax.mail.Session.geDefaultInstance(props,auth);
to
session = javax.mail.Session.getInstance(props,auth);
while using in more than one smtps,user,passwords etc in same JRE
bye
i got the solution for the problem myself
if any one encounter same problem ,
Just change
session = javax.mail.Session.geDefaultInstance(props,auth);
to
session = javax.mail.Session.getInstance(props,auth);
while using in more than one smtps,user,passwords etc in same JRE
bye