Re: mail/Session resources lookup fail

2013-03-17 Thread Konstantin Kolinko
2013/3/15 Lau, Alex : > I have a typical mail resource set up but my lookup always returns localhost > as the smtp host. > > My webapp contect.xml looks like this: > > > > mail.smtp.host="smtp.mydomain.com" mail.debug="true"> > > > My webapp web.xml has an entry like this: > > > Resource

mail/Session resources lookup fail

2013-03-15 Thread Lau, Alex
I have a typical mail resource set up but my lookup always returns localhost as the smtp host. My webapp contect.xml looks like this: My webapp web.xml has an entry like this: Resource reference to a factory for javax.mail.Session instances that may be used for sending electronic mai