mailDocument

The mailDocument allows processing of internet mail messages.  These are messages that follow internet standards based on RFC 822 (Standard For the Format of ARPA Text Messages).  They are text documents basically consisting of a section containing descriptive headers, and a section containing data called the body.   For details, please see the topic on mailMessage - the object that encapsulates a single entity of an internet mail message.  In Framework EDI (FREDI) there is always an instance of the mailDocument object in the top application ediDocument object.  The mailDocument consists of 2 messages:

 

 

Subject Message

The subject message is the main message that is processed.  When a mail document is loaded from an external file, it is loaded into the subject message; when a mail document is processed from an internal string, it is processed to the subject message.  Likewise, when the mail document is saved into an external file, the contents of the subject message is saved into the file.

Message Disposition Notification

A Message Disposition Notification (MDN) is an acknowledgment file created by the receiver that is sent to the sender to notify the sender of any success or failure of the received message.  This object always exists, unless the acknowledgment has been enabled, which then, the contents will be empty.  

 

Methods

Properties