The JavaMail Sessions page opens.
The New JavaMail Session page opens.
Use the naming sub-context prefix mail/ for JavaMail resources. For example: mail/MySession. The name must contain only alphanumeric, underscore, dash, or dot characters.
The connect methods of the Store and Transport objects use this value if a protocol-specific host property is not supplied. The name must be resolvable to an actual host name.
The connect methods of the Store and Transport objects use this value if a protocol-specific username property is not supplied. The user name must contain only alphanumeric, underscore, dash, or dot characters.
The format is username@host.domain.
The default value is Enabled.
The storage protocol service connects to a mail server, retrieves messages, and saves messages in one or more folders. Allowed values are imap, pop3, imaps, and pop3s. The default value is imap.
Allowed values are:
com.sun.mail.imap.IMAPStore
com.sun.mail.pop3.POP3Store
com.sun.mail.imap.IMAPSSLStore
com.sun.mail.pop3.POP3SSLStore
The default value is com.sun.mail.imap.IMAPStore.
The transport protocol service sends messages. Allowed values are smtp and smtps. By default, the Transport Protocol is smtp.
The default value is com.sun.mail.smtp.SMTPTransport.
If the JavaMail log level is set to FINE or finer, the debugging output is generated and is included in the system log file. See To Configure Log Levels for information about setting the log level. This option is disabled by default.
For a list of the available properties, see the JavaMail API documentation. Additional properties must begin with mail- and must use hyphens, not periods, as separators. For example, mail-debug is correct, but mail.debug is not. The GlassFish Server back end converts the hyphens into the periods expected by the JavaMail API.
To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.
Targets can be clusters or standalone server instances. If you do not select a target, the session is configured to the default server instance server.