Sun Java System Web Server 7.0 Update 7 Administrator's Configuration File Reference

mail-resource

The mail-resource element configures a mail store resource. This element may appear zero or more times within the server element. For more information, see server.

Subelements

The mail-resource element can contain the following subelements:

Table 3–34 List of mail-resource Subelements

Element 

Occurrences 

Description 

enabled

0 or 1 

Determines whether the mail resource is enabled at runtime. The default value is true.

jndi-name

The JNDI name of the resource. 

description

0 or 1 

The description of the resource 

property 

0 or more 

Configures optional mail-resource-specific properties. The properties are the standard JavaMailTM properties For more details, see the JavaMail API Specification at http://java.sun.com/products/javamail/JavaMail-1.2.pdf, and property.

store-protocol

0 or 1 

The protocol used to retrieve messages. 

store-protocol-class

0 or 1 

The storage service provider implementation for store-protocol. The value is a name of a class that implements store-protocol. The default value is com.sun.mail.imap.IMAPStore.

transport-protocol

0 or 1 

The protocol used to send messages. 

transport-protocol-class

0 or 1 

The transport service provider implementation for transport-protocol. The value is a name of a class that implements transport-protocol. The default value is com.sun.mail.smtp.SMTPTransport.

host

The mail server host name. 

user

The mail server username. 

from

The email address from which the server sends email. 

description

0 or 1 

The description of the mail resource.