All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.ref-javamailsessionsedit.html Maven / Gradle / Ivy



Edit JavaMail Session

Use the Edit JavaMail Session page to edit a JavaMail session.

The Edit JavaMail Session page contains the following options.

Load Defaults

Button to restore settings that have default values to their default values. Settings that do not have default values are not changed.

JNDI Name

A unique name that identifies the JavaMail session. The JNDI name is a read-only field. You can only specify the JNDI name when you create a new JavaMail session.

Mail Host

The host name of the default mail server. 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.

Default User

The user name to provide when connecting to a mail server. 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.

Default Sender Address

The e-mail address of the default user. The format is username@host.domain.

Deployment Order

The deployment order of the JavaMail session resource.

Description

A description of this mail session.

Status

Whether the resource is available at runtime.

If only the default server instance, server, exists in the domain, the resource's runtime availability can be enabled or disabled. Runtime availability is enabled by default.

If any clusters or standalone instances have been created in the domain, use the Target tab to control runtime availability of the resource on its targets.

Store Protocol

The storage protocol service, which 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.

Store Protocol Class

The service provider implementation class for storage. 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.

Transport Protocol

The transport protocol service, which sends messages. Allowed values are smtp and smtps. The default value is smtp.

Transport Protocol Class

The service provider implementation class for transport. Allowed values are:

  • com.sun.mail.smtp.SMTPTransport

  • com.sun.mail.smtp.SMTPSSLTransport

The default value is com.sun.mail.smtp.SMTPTransport.

Debug

If this option is selected, debugging for this resource is enabled. 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.

Additional Properties

Additional properties for the JavaMail session. For a list of the available properties, see the JavaMail API documentation (http://java.sun.com/products/javamail/javadocs/index.html). 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.

Related Tasks
Related asadmin Commands
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy