EmailChannel

The EmailChannel sends e-mail messages through SMTP.

  • Preferences node:/businesslayer/com/sybase365/mobiliser/util/messaging/channelmanager/engine/impl/ ChannelInstantiator/emailchannel1
  • ConfigAdmin PID:com.sybase365.mobiliser.util.messaging.channelmanager.engine.impl.ChannelInstantiator.emailchannel1
You can set these configuration options in preferences:
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.
Note: The default channel for all outgoing messages is htmlchannel1. Once an outgoing message is sent by Mobiliser, the contents of the messages can be found at the following URL: https://localhost:8081/mobiliser/channelmgr/html, where you are asked for the Mobiliser mobiliser user before you can view the outgoing messages.  To use the emailchannel1 as the method for sending outgoing messages, you must first deactivate htmlchannel1. To deactivate it, set the "_active" preference entry to false via the Operations Dashboard in: /com/sybase365/mobiliser/util/messaging/channelmanager/engine/impl/ChannelInstantiator/htmlchannel1.
Related reference
HtmlChannel