The message object represents a single e-mail message.
AddRecipient(STR sName, STR sAddress)
Adds a recipient to the e-mail.
Clears the recipient of the email (including the MIME-headers).
Copies the message to the specified IMAP folder
Check whether an email contains a specific content-type.
Refreshes the message content
Saves the email. If this is a new email, it will be delivered after save.
The attachments of the message
The plain text contents of the e-mail.
The CC-header of the email
The main character set of the email.
The date header of the e-mail message.
The number of this delivery attempt
The filename in witch the message is stored
bool Flag(eMessageFlag iType)
Message flags (see bottom of this page for further detail)
The sender of the e-mail.
The sender address of the message, taken from "mail from" during the SMTP conversation and then inserted as the first occurrence of Return-Path.
Collection of message headers
string HeaderValue(string FieldName)
Value of the first occurrence of the given header field. FieldName is not case sensitive.
The HTML contents of the e-mail.
The unique database identifier for the e-mail
The internal date and time of this message
An list of recipients of this email
The size of the message, counted in kilobytes
The state of the message
The subject of the e-mail.
The To-header of the email
The message flag is a Binary Flag (Boolean) which can contain several set values at same time.
1 = Seen (Read)
2 = Deleted
4 = Flagged
8 = Answered
16 = Draft
32 = Recent
64 =Virus Scanned
Or various combinations of above values so 32 + 64 = 96 would mean Recent and Virus Scanned.