|DeliveryStatusParserProcessWithTimeout Method |
Examines the specified MailMessage
for delivery status notification (DSN) and returns its details, limiting the amount of time to process each bounce format.
MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public Result ProcessWithTimeout(
Public Function ProcessWithTimeout (
message As MailMessage,
timeout As Integer
) As Result
- Type: MailBee.MimeMailMessage
The MailMessage object to be examined.
- Type: SystemInt32
Maximum timeout in milliseconds to get response for one template. In most cases, value of 300 is enough. You may increase it for very slow systems.
DSN details extracted from the specified e-mail message, or a null reference (Nothing
in Visual Basic)
if the message does not contain any DSN.
This is a workaround method can be used in rare cases when the standard method Process(MailMessage)
takes too long time if it encounters a specific bounce e-mail which is hard
to process with the current regular expression (each bounce format is represented by a regular expression). In such cases, the method simply aborts the current regular expression check and continues to the next one. No exception is thrown.