Use this page to create a new Java Mail session, or edit an existing Java Mail session.
The following table describes the fields and buttons on the screen. The left column lists the fields and buttons; the right column describes the functionality.
Field or Button
|
Description
|
---|---|
JNDI Name |
Provide a JNDI name for the Java Mail session that you are creating. Once a Java Mail Resource is registered with the server, it can be referenced in any J2EE application component using a JNDI lookup. |
Mail Host |
Specify the default Mail server. The connect methods of the Store and Transport objects use this property, to locate the target host, if the protocol-specific host property is absent. |
Default User |
Specify the username to provide when connecting to a Mail server. The connect methods of the Store and Transport objects use this property to obtain the username, if the protocol-specific username property is absent. |
Default Return Address |
Specify the default return address of the current user. The default address should be in this form: username@host. |
Description |
Provide a description for this Java Mail session. |
Java Mail Session Enabled |
Mark this checkbox to enable this Java Mail session. |
Store Protocol |
Provide the store protocol for the new Java Mail session, for example, IMAP4, POP3, etc. |
Store Protocol Class |
Provide the class name of the store protocol you have specified for this Java Mail session. For example, if you have specified IMAP4 as your store protocol, you could specify com.sun.mail.imap as the store protocol class. |
Transport Protocol |
Specify the transport protocol you want this session of Java Mail to use. The default value is SMTP. |
Transport Protocol Class |
Provide the class name of the transport protocol you have specified for this Java Mail session. For example, for the transport protocol SMTP, you could specify com.sun.mail.smtp as the transport protocol class. |
Debug Enabled |
Mark this checkbox to turn on the debug mode. |
Save |
Saves your edit. |
Reset |
Cancels your changes, and resets the page to default values. |
See also | |
---|---|