: Mail Session ClassCastException
Datum: Tue, 28 Jun 2005 10:08:28 -0400
Hello everybody.
I am trying to get a mail session using the context's lookup method and
I
get a ClassCastException.
this is the resource declaration in my context.xml:
Resource name=mail/sessionMail auth
Hello everybody.
I am trying to get a mail session using the context's lookup method and I
get a ClassCastException.
this is the resource declaration in my context.xml:
Resource name=mail/sessionMail auth=Container type=javax.mail.Session
mail.smtp.host=localhost/
the code I am using to