Re: mail/Session resources lookup fail

2013-03-17 Thread Konstantin Kolinko
2013/3/15 Lau, Alex alex@ballard.com: 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: ?xml version=1.0 encoding=UTF-8? context Resource name=mail/Session auth=Container type=javax.mail.Session

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: ?xml version=1.0 encoding=UTF-8? context Resource name=mail/Session auth=Container type=javax.mail.Session mail.smtp.host=smtp.mydomain.com