The `messages' property
Read-only, Nested Matrix
Valid for: GetMail
Once you have established a connection to a POP3 mail server using the Open method of a GetMail object, you can retrieve a list of the messages on the server by reading the messages property. This is a nested matrix, with one row per message.
The columns (in Index Origin 1) are:
- The 'From' field, i.e. the sender of the message, as a character vector.
- The 'To' field, i.e. the recipient or recipients of the message, as a character vector. If there are more than one, they will delimited by commas.
- The 'Date' field, as a character vector, in the format 'Fri, 14 Jan 2005 10:31:00 +0000'.
- The 'Subject' field, as a character vector.
- The Size of the message in bytes, as an integer.
- A Boolean scalar indicating whether the message has multiple parts.
- The unique Message ID, as a character vector.
The messages are listed in order, so you can retrieve them by index position using the GetMessage or GetSummary methods. Message indices always start at 1, so the e-mail associated with the first row of the messages matrix can be retrieved as message number 1.
Topic: APLX Help
: System Classes
: Properties
: messages
[ Previous | Next | Contents | Index ]