Table 14.5. Constants in the attributes Property
Constant Description
LATT_NOINFERIORS (^) The mailbox contains no other mailboxes.
LATT_NOSELECT (^) The mailbox is a container only and cannot be opened.
LATT_MARKED (^) The mailbox is marked.
LATT_UNMARKED (^) The mailbox is unmarked.
object imap_header(integer stream, integer message, integer
from_length, integer subject_length)
The imap_header function returns an object with properties matching message
headers. The from_length and subject_length arguments are optional. These
values govern the fetchfrom and fetchsubject properties, respectively. Table
14.6 lists the properties of the returned object.
Table 14.6. imap_header Properties
Property Description
Answered (^) A if answered, blank otherwise.
bcc Array of objects with the following properties: adl, host,
mailbox, personal.
bccaddress (^) Full bcc: line, limited to 1024 characters.
cc Array of objects with the following properties: adl, host,
mailbox, personal.
ccaddress (^) Full cc: line, limited to 1024 characters.
Date (^) Date for the message.
date (^) Date for the message.
Deleted (^) D if marked for deletion, blank otherwise.
Draft (^) X if a draft, blank otherwise.
fetchfrom (^) The from: line limited by the from_length argument.
fetchsubject (^) The subject: line limited by the subject_length argument.
Flagged (^) F if flagged, blank otherwise.
followup_to (^) Full followup_to: line, limited to 1024 characters.
from Array of objects with the following properties: adl, host,
mailbox, personal.
fromaddress (^) Full from: line, limited to 1024 characters.
in_reply_to (^) The in_reply_to: line.
MailDate (^) Mail date
message_id (^) Unique ID assigned by mail server.
Msgno (^) Message number
newsgroups (^) The newsgroups: line.
Recent (^)
references (^) The references line.