A default MDN is created not as a result of a subject message, but by just
calling the BuildMDN
method. The properties in the default MDN show what headers and
body are generated at a bare minimum -- when no subject message has been
loaded. This is useful for when you need to create an MDN from
scratch, and all that is required after creating the default MDN is just
overriding the existing values with the correct ones. However,
when a message has been loaded, the MDN generated when calling the
BuildMDN method will depend on the values of the loaded message. The default MDN consists of:
Message Headers. The following headers are created
when an MDN is built.
MIME-Version. The default value is set to
"1.0".
Date. The default value is set to the current
date.
Content-Type. The default value is set to "multipart/report; report-type=disposition-notification;
boundary="default.boundary.mdn".
1st Body Part. The first body part is created as
follows:
By default, no header is created and the body of the text is
set to:
This is an automatically generated human readable text that should be overwritten
with the correct text.
2nd Body Part. The second body part is created as a
composite message and constructed as follows:
The header Content-Type is created and set to "message/disposition-notification".
A body part is created in this body part and the
following headers are added:
Final-Recipient. No value is set.
Disposition. The default value is set to "manual-action/MDN-sent-manually;processed".