Mail Properties
This section describes custom engine properties that can be set for the resources in the Mail palette.
bw.plugin.mail.receiverFlattenNesteedAttachments
In previous releases, the Receive Mail activity threw exceptions when receiving email, if the email was in rich text format and the any mime part contained nested mime sub-parts. You can fix this by setting this property to true
which creates a flat output structure where all sub-parts are siblings. For example, the following nested structure:
<mimeEnvelopeElement>
<mimePart>
<mimePart>
<textContent />
</mimePart>
</mimePart>
</mimeEnvelopeElement>
would be flattened out to the following:
<mimeEnvelopeElement>
<mimePart>
<textContent />
</mimePart>
</mimeEnvelopeElement>
If you rely on the behavior of previous releases, keep this property set to its default value of false
.
bw.plugin.mail.receiverHandleDiscreteTypes
In previous releases, the Receive Mail activity did not handle incoming mime messages with mime types application/*, audio/*, video/*, or image/*. While fetching these types of emails, ActiveMatrix BusinessWorks threw exceptions. You can fix this by setting this property to true
. If you rely on the behavior of previous releases, keep this property set to its default value of false
.
bw.plugin.mail.receiverRetryCount
When a mail sender is in the process of sending a message, the mail server may expose the message to the Receive Mail process starter, but indicate later that the message is unavailable. This typically occurs when sending large messages. The Receive Mail process starter attempts to receive the message during subsequent polls of the mail server. By default, the process starter will attempt to receive the message for three minutes. The number of retries within that three-minute limit depends upon the value of the polling interval. For example, if the polling interval is set to 30 seconds, there will be up to six retries. If the polling interval is set to 4 minutes, there will be only one retry.
This property allows you to specify the number of times the Receive Mail process starter will attempt to receive the same message. The amount of time allotted for retries will be the value of this property multiplied by the polling interval. For example, if the polling interval is every 10 seconds, and the retry count is set to 12, then the Receive Mail process starter will attempt to receive the message for two minutes.