Sun Java System Web Server 7.0 Administrator's Guide

Properties for Mail Resource

The following table describes the properties available while adding a new mail resource.

Table 11–5 Mail Resource Properties




Provide a unique name for the new mail resource. 


Determines if this mail resource is enabled at runtime. 


Valid user name registered in the mail server. 


Email address from which the server sends mail. 


Host name/IP address of the mail server. 

Store Protocol

Protocol used to retrieve messages. 

Store Protocol Class

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

Transport Protocol

Protocol used to send messages. 

Transport Protocol Class

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

Note –

Using CLI

For creating a mail resource, execute the following command:

wadm> create-mail-resource --config=test --server-host=localhost 
--mail-user=nobody mail/Session

See CLI Reference, create-mail-resource(1).