...
The MailTo transport listener implementation can be configured by setting the parameters as described in the JavaMail API documentation. For IMAP related properties, see IMAP Package Summary - IMAP. For POP3 properties, see POP3 Package Summary - POP3. The MailTo transport listener also supports the following transport parameters in addition to the parameters described in the JavaMail API documentation.
Tip |
---|
In the following transport parameter tables, the literals displayed in italics in the Possible Values column should be considered as fixed literal constant values. Those values can be directly specified in the transport configuration. |
Parameter Name | Description | e.g.Required | Possible Values | Default Value |
---|---|---|---|---|
transport.mail.Address | The mail address from which this service should fetch incoming mails. | Yes | A valid e-mail address |
transport.mail.bodyWhenAttached | The content for the body of the mail when sending a mail with an attachment. | No | The text you want to appear in the mail body |
transport.mail.Folder | The mail folder in the server from which the listener should fetch incoming mails. | No | A valid mail folder name (e.g., inbox) | inbox folder if that is available or else the root folder |
transport.mail.Protocol | The mail protocol to be used to receive messages. | No | pop3, imap | imap |
transport.mail.PreserveHeaders | A comma separated list of mail header names that this receiver should preserve in all incoming messages. | No | A comma separated list |
transport.mail.RemoveHeaders | A comma separated list of mail header names that this receiver should remove from incoming messages. | No | A comma separated list |
transport.mail.ActionAfterProcess | Action to perform on the mails after processing them. | No | MOVE, DELETE | DELETE |
transport.mail.ActionAfterFailure | Action to perform on the mails after a failure occurs while processing them. | No | MOVE, DELETE | DELETE |
transport.mail.MoveAfterProcess | Folder to move the mails after processing them. | Required if ActionAfterProcess is MOVE | A valid mail folder name |
transport.mail.MoveAfterFailure | Folder to move the mails after encountering a failure. | Required if ActionAfterFailure is MOVE | A valid mail folder name |
transport.mail.ProcessInParallel | Whether the receiver should process incoming mails in parallel or not. This works only if the mail protocol supports processing incoming mails in parallel. (e.g., IMAP) | No | true, false | false |
transport.ConcurrentPollingAllowed | Whether the receiver should poll for multiple messages concurrently. | No | true, false | false |
transport.mail.MaxRetryCount | Maximum number of retry operations to be performed when fetching incoming mails. | Yes | A positive integer |
transport.mail.ReconnectTimeout | The reconnect timeout in milliseconds to be used when fetching incoming mails. | Yes | A positive integer |
Global Transport Sender Parameters
For a list of parameters supported by the MailTo transport sender, see SMTP Package Summary - SMTP. In addition to the parameters described there, the MailTo transport sender supports the following parameters.
Parameter Name | Description | Required | Possible Values | Default Value |
---|---|---|---|---|
transport.mail.SMTPBccAddresses | If one or more e-mail addresses need to be specified as BCC addresses for outgoing mails, this parameter can be used. | No | A comma-separated list of e-mail addresses |
transport.mail.Format | Format of the outgoing mail. | No | Text, Multipart | Text |
For more information, see
...