Hey Team,
I have some problems with the example of JNDI Resources JavaMail
Sessions.
I get the error: The constructor MimeMessage(Session) is undefined
A extract from the HOW-TO page:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
Session
Hey guys,
I found the solution.
I had import the wrong Session-class.
So long,
Sebastian
Hey Team,
I have some problems with the example of JNDI Resources JavaMail
Sessions.
I get the error: The constructor MimeMessage(Session) is undefined
A extract from the HOW-TO page:
Context