GVMailServices
Description
The GVMailServices Adapters specifies the Email services configuration.
The GVMailServices Element is used by: GVAdapters.
The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | Element type 'module'.
This attribute must assume the value module. |
name | fixed | Module id always set to 'MAIL_SERVICES'.
This attribute must assume the value MAIL_SERVICES. |
Might contain the sub-elements:
mail-service
Specifies the Email service configuration.
The mail-service Element is used by: GVMailServices.
The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
code | fixed | Specifies the Email service plugin.
This attribute must assume the value org.jboss.mail.MailService. |
name | required | Specifies the Email service name.
ex: jboss:service=Mail The attribute's value can't be null. |
jndi-name | required | Specifies the javax.mail.Session object JNDI name registered into the application server JNDI tree.
ex: java:/Mail The attribute's value can't be null. |
host | optional | Specifies the default Mail server.
The Store and Transport object's connect methods use this property, if the protocolspecific host property is absent, to locate the target host. ex: smtp.nosuchhost.nosuchdomain.com The attribute's value cannot be null. |
user | required | Specifies the username to provide when connecting to a Mail server.
The Store and Transport object's connect methods use this property, if the protocol specific username property is absent, to obtain the username. ex: nobody We assume that the authentication username is the same for each protocol. The attribute's value cannot be null. |
password | optional | Specifies the password to provide when connecting to a Mail server.
This parameter is not included in the JavaMail specifications, but is used to configure the JBoss mail service. We assume that the authentication password is the same for each protocol. The attribute's value cannot be null. |
from | optional | Specifies the return address of the current user.
Used by the InternetAddress.getLocalAddress method to specify the current user’s email address. ex: someone@host.domain.com The attribute's value can't be null. |
debug | optional | Specifies the initial debugging mode.
Setting this property to "true" will turn on debug mode, while setting it to "false" turns debug mode off. The attribute's admitted values are:
The attribute's value can't be null. |
alternates | optional | A string which contains additional email addresses to which current user is aware.
The MimeMessage reply method will eliminate any of these addresses from the recipient list in the message it builds, to avoid sending the reply back to the sender. This property is supported by Sun Microsystem implementation of JavaMail, but is not currently a required part of the specification. The attribute's value can't be null. |
replyallcc | optional | If set to "true", the MimeMessage reply method will put all recipients except the original sender in the Cc list of the new message.
Normally, recipients in the "To" header of the original message will also appear in the "To" list of the new email message. This property is supported by Sun Microsystem implementation of JavaMail, but is not currently a required part of the specification. The attribute's admitted values are:
The attribute's value can't be null. |
Might contain the sub-elements:
- Description
- smtp
- (pop3 | imap)
- mime