M

                                                                                                                                                                                                                                                                                                                                      Back to [Book]     [Topic]

server.xml elements beginning with M

The following elements are discussed below:

   mail-resource       mime-file   

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 1 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 JavaMail 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 1 The mail server host name.
user 1 The mail server username.
from 1 The email address from which the server sends email.
description 0 or 1 The description of the mail resource.

mime-file

The mime-file element defines a file that configures the MIME type mappings for the server. This element may appear zero or more times within the server element and zero or more times within the virtual-server element. For more information, see server, and virtual-server.

The value of this element is the file name of a MIME types file. If a relative path is used, it is relative to the server's config directory. This element does not contain any subelements.

For more information, see MIME Types.

Labels

configurationfile configurationfile Delete
+configguide +configguide Delete
java java Delete
server server Delete
configuration configuration Delete
administrator's administrator's Delete
sun sun Delete
webserver webserver Delete
application application Delete
system system Delete
webtier webtier Delete
guide guide Delete
file file Delete
webserver70 webserver70 Delete
sunjava sunjava Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact