public static MailSessionDefinition
MailSession
to be registered with JNDI. The MailSession may be configured
by setting the annotation elements for commonly used Session
properties. Additional standard and vendor-specific properties may be
specified using the properties element.
The session will be registered under the name specified in the
name element. It may be defined to be in any valid
Java EE namespace, and will determine the accessibility of
the session from other components.