The mailMessages is a collection of body parts contained in an internet message. It has the following properties:
Basic structure:
Example:
Boundary Delimiter
A one-line string called the boundary delimiter separates the body parts in a composite or multipart message. A boundary opens the beginning of the first body part and ends all subsequent body parts except for the last. The last body part ends with a closing boundary. The boundary delimiter is made up of:
<CRLF><"--"><boundary string>
For example, if the boundary string is "some.boundary" then the delimiter is "--some.boundary".
<CRLF><"--"><boundary string><"--">
For example, "--some.boundary--".
The boundary string is specified by the "Boundary" parameter of the Content-Type header that is in the message that encapsulates the body parts (or the mailMessage object that encapsulates this mailMessages collection object).
The CRLF that starts the boundary delimiter indicates that the boundary MUST start at the beginning of the line. The CRLF itself is part of the delimiter and not the preceding body part.
There MUST NOT be a text or a string within the body part that matches the boundary or closing boundary delimiter. Framework EDI searches for the delimiter pattern to determine when a body part begins and ends.
For additional information, see RFC 2046: Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types.
Methods
Properties