[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JavaMail : javax.naming.NameNotFoundException: mail not

jaikiran do-not-reply at jboss.com
Thu May 15 03:51:18 EDT 2008


anonymous wrote :  session = (javax.mail.Session) envCtx.lookup("java:/mail"); 

The jndi-names are case sensitive. The lookup string should be:


 session = (javax.mail.Session) envCtx.lookup("java:/Mail"); 

P.S: While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150952#4150952

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150952



More information about the jboss-user mailing list