The EmailChannel sends e-mail messages through SMTP.
| Key | Default | Description |
|---|---|---|
| channelId | defaultQ | Indicates the channel’s ID. |
| mail.host | localhost | Defines the SMTP server host name. |
| mail.port | 25 | Defines the port to use when connecting to the SMTP server. |
| mail.username | Indicates whether the server authentication requires the user name. | |
| mail.password | Indicates whether the server authentication requires the password. | |
| mail.protocol | smtp | Defines the protocol used between the mail program and the server. Options are SMTP or Simple Mail Transfer Protocol Security (SMTPS). |
| mail.sign | false | Indicates whether outgoing e-mail messages are pretty good privacy (PGP) signed. All other configuration values are relevant only if this value is set to true. |
| sign.keyId | Indicates the ID of the secret key to use for signing. | |
| sign.hashAlgorithm | –1 | Defines the hash algorithm to use when signing. If this value is not set, the default from the key itself is used. Otherwise, use this option to force a hash algorithm. For details, refer to the Javadoc located at: http://www.bouncycastle.org/docs/pgdocs1.5on/org/bouncycastle/bcpg/HashAlgorithmTags.html |
| sign.passphrase | Indicates the passphrase for the secret key. | |
| sign.secretRingResource | Indicates the resource for the secret keyring in Spring notation. For example, file:/home/mobiliser/.gnupg/secring.gpg. |