edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Mail Sessions
Mail Sessions
Column Display Related Tasks Related Topics
Mail sessions facilitate the process of using the JavaMail APIs, which provide applications and other J2EE modules with access to Internet Message Access Protocol (IMAP)- and Simple Mail Transfer Protocol (SMTP)-capable mail servers on your network or the Internet.
This page summarizes the mail sessions that have been configured in the current WebLogic Server domain.
In the reference implementation of JavaMail, applications must instantiate
javax.mail.Session objects, which designate mail hosts, transport and store protocols, and a default mail user for connecting to a mail server. In WebLogic Server, you use the Administration Console to create a mail session, which configures a
javax.mail.Session object and registers it in the WebLogic Server JNDI tree. Applications access the mail session through JNDI instead of instantiating their own
javax.mail.Session object.
Column Display
You can show fewer or additional data points on this page by expanding Customize this table and modifying the Column Display list. Each data point displays in its own table column.
The following table lists all of the data points that you can display in columns on this page.
Name Description Name of Name of mail session.
This value is for user-identification purposes only; applications use the JNDI name to access this mail session.
MBean Attribute:
MailSessionMBean.Name
Changes take effect after you redeploy the module or restart the server.
Properties The configuration options and user authentication data that this mail session uses to interact with a mail server. Each property that you specify overrides the default property value as defined by the JavaMail API Design Specification.
Include only the properties defined by the JavaMail API Design Specification.
If you do not specify any properties, this mail session will use the JavaMail default property values.
Express each property as a
name=value pair. Separate multiple properties with a semicolon (
;).
MBean Attribute:
MailSessionMBean.Properties
Changes take effect after you redeploy the module or restart the server.
JNDI Name The JNDI name that modules use to access this mail session.
MBean Attribute:
MailSessionMBean.JNDIName
Changes take effect after you redeploy the module or restart the server.
![]()