Mail Message Class Methods  
 
Class Description
CMailMessage Constructor which initializes the current instance of the class
~CMailMessage Destructor which releases resources allocated by the class
Method Description
AppendText Append text to the body of the current message part
AttachData Attach the contents of a buffer to the specified message
AttachFile Attach a file to the specified message
AttachHandle Attach the specified message handle to this instance of the class
ClearMessage Clear the specified message, deleting all message parts
ClearText Clear the body of the current message part
CompareText Compare text in the body of the current message part
ComposeMessage Compose a new message using the specified parameters
CopyMessage Copy the contents of another message into the current message
CreatePart Create a new message part for the specified message
DecodeText Decode a base64 or quoted-printable encoded string
DeleteHeader Delete the specified header field from the message
DeletePart Delete the specified message part
DetachHandle Detach the handle for the current instance of this class
EncodeText Encode a string using base64 or quoted-printable encoding
EnumAttachments Enumerate all file attachments in the current message
EnumHeaders Enumerate all header fields in the current message part
EnumRecipients Enumerate addresses of all message recipients
ExportMessage Export the current message to a string buffer or text file
ExtractAllFiles Extract all file attachments in the message and store them in the specified directory
ExtractFile Extract the file attachment from the current message part
FindAttachment Search for a file attachment in the specified message
FormatDate Return a standard RFC 822 formatted date string
GetAllHeaders Return the complete RFC 822 header values in a string buffer
GetAllRecipients Return a comma-separated list of recipient addresses in a string buffer
GetAttachedFileName Return the name of the file attachment for the current part
GetBoundary Return the multipart message boundary string
GetContentDigest Return encoded digest of message's content
GetContentLength Return the length of the current message part content
GetDate Return the date and time from the message header
GetErrorString Return a description for the specified error code
GetExportOptions Return a bitmask that describes current message export options
GetFileContentType Return the content type for a specified file
GetFirstHeader Return the first header field and value in the current message part
GetHandle Return the message handle used by this instance of the class
GetHeader Return the value of a specified header from the message
GetLastError Return the last error code
GetMessageSize Return the size of the complete message in bytes
GetNextHeader Return the next header field and value in the current message part
GetPart Return the current message part index
GetPartCount Return the total number of message parts
GetSender Return the email address of the message sender
GetText Return the text of the current message part
ImportMessage Import a message from the specified text file, clipboard or buffer
IsInitialized Determine if the class has been successfully initialized
LocalizeText Localize Unicode text to ANSI using a specific character set
ParseAddress Parse the specified email address
ParseBuffer Parse the specified text and add to the current message
ParseDate Parse the specified RFC 822 formatted date string
ParseHeader Parse the specified text and add to message header
SetExportOptions Specify a bitmask that describes current message export options
SetFileContentType Set the content type for a specific file name extension
SetLastError Set the last error code
SetDate Set the current date in the header for the specified message
SetHeader Create or update a header field in the specified message
SetPart Set the current message part index for the specified message
SetText Create or update the specified message body
ShowError Display a message box with a description of the specified error