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
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