The mailBody contains the freeform data in the mailMessage
interface.A message mainly
consists of a list of headers and a body, separated by a NULL line.The headers section always precedes the body.
Message = <Headers> <NULL> <Body>
Example message:
The body holds the following properties:
Data
in the body is treated as binary.
There
is no limitation to the size of the data in the body barring limitations
imposed by disk space.
There
is also no limitation to the number of characters allowed in a single line.To format the body to a specific number of characters per line, the
WrapText method can be used to insert carriage-return line-feed pair (CRLF)
into the text.
Methods
Export - Exports the body data into an external file.
Import - Imports an external file into the body overwriting the
existing data.
WrapText - Wraps the text in the body such that each line in body
that ends with a CRLF does not exceed a specified length..
Properties
Length - Returns the length of the text of the body.