+

Search Tips   |   Advanced Search

Mail session settings


To configure mail sessions.

We can access this admin console page in one of two ways:

Scope

Scope of the mail provider that implements the Java Mail API for this mail session. Only applications that you installed within this scope can use this mail session.

Provider

Mail provider that the appserver uses for this mail session.

By creating a mail session, if we previously defined one or more mail providers at the relevant scope, you will see a list from which we can select an existing mail provider for the new mail session.

Create New Provider

Provides the option of configuring a new mail provider for the new mail session.

Create New Provider is displayed only when you click Resources > Mail > Mail sessions > New to create a new mail session.

Clicking Create New Provider triggers the console to display the mail provider configuration page, where you create a new provider. After you click OK to save the settings, you see the mail session collection page. Click New to define a new mail session for use with the new provider; the console now displays a configuration page that lists the new mail provider as the mail session Provider.

Avoid trouble: After you create a mail session, we cannot change the provider of that mail session.

Name

Administrative name of the Java Mail session object.

JNDI name

Java ™ Naming and Directory Interface (JNDI) name for the resource, including any naming subcontexts.

This name provides the link between the platform binding information for resources defined in the client application deployment descriptor and the actual resources bound into JNDI by the platform.

Adhere to the following requirements for JNDI names:

  • Do not assign duplicate JNDI names across different resource types (such as mail sessions versus data sources).

  • Do not assign duplicate JNDI names for multiple resources of the same type in the same scope.

Description

Specifies an optional description for the admin records.

Category

Specifies an optional collection for classifying or grouping sessions.

Enable debug mode

Toggles debug mode on and off for this mail session.

Enable strict Internet address parsing

Whether the recipient addresses must be parsed in strict compliance with RFC 822, which is a specifications document issued by the Internet Architecture Board.

This setting is not generally used for most mail applications. RFC 822 syntax for parsing addresses effectively enforces a strict definition of a valid e-mail address. If we select this setting, the mail component adheres to RFC 822 syntax and rejects recipient addresses that do not parse into valid e-mail addresses (as defined by the specification). If we do not select this setting, the mail component does not adhere to RFC 822 syntax and accepts recipient addresses that do not comply with the specification. By default, this setting is not selected. We can view the RFC 822 spec at the World Wide Web Consortium web site.

Outgoing Mail Properties

Incoming Mail Properties





 

Related tasks


Use mail
Set mail providers and sessions