Rebuilds the Message Disposition Notification (MDN) based on the last time the document was processed.
Syntax:
Returns
If successful, returns 1; otherwise 0, if failed.
Remarks
Whenever a message is loaded, a MDN is automatically generated by default for the message, at which point the MDN object can then be retrieved using the GetMDN method and its data can be modified, saved, etc. At the time that it is generated, it processes only those errors captured during the Load method not anytime thereafter. However, additional processing after the call made to the Load method could generate additional errors that may need to be included in the MDN. In that case, the MDN would have to be re-generated by calling the RefreshMDN method. This process erases the existing MDN previously generated, and re-builds the entire MDN from all errors captured since the additional processing.
NOTE: The MailDocOpt_Auto option has no effect on the RefreshMDN method. However, it is enabled under the following conditions:
- The MailDocOpt_EnableMDN option is enabled (set to 1), and
- Either of the next 2 conditions are true:
- A request has been made by the subject message containing the pertinent information in its headers. Please see Message Disposition Notification (MDN), or
- The EnableAcknowledgment option has been enabled (set to TRUE).