Installation guide

The folder list is returned in a Query structure with the name you specified in the NAME
attribute. The fields of the Query structure are:
FULLNAME the full path to the folder (used to retrieve folder message info)
NAME shortcut name to the folder
TOTALMESSAGES total messages this folder is holding
UNREAD total unread messages in this folder
NEW total new messages in this folder
The
FULLNAME field is used for making subsequent calls to folders with other CFIMAP
action parameters.
4.5.7.4 Listing Mail Messages
You can retrieve high-level information about the messages within a folder by specifying
ACTION=”LISTMAIL”; this action does not retrieve the message bodies. To read a message
body you must first get an email message ID using the
LISTMAIL action and then specify
the message ID in the
READMAIL action as described in the next section.
The
folder attribute must contain the name of a folder as contained in the FULLNAME
field of the Query structure returned by
ACTION=”LISTALLFOLDERS”.
<CFIMAP ACTION="LISTMAIL"
CONNECTION="name"
FOLDER="fullname"
NAME="queryname">
The message information is returned in a Query structure with the name you specified in
the
name attribute. The fields of this Query structure are:
SUBJECT subject line of the mail message
ID unique ID of this mail message (used to retrieve the message body)
RXDDATE the date this mail message was received
SENTDATE the date this mail message was sent
FROM address structure (see below)
TO array of address structures (see below)
CC array of address structures (see below)
BCC array of address structures (see below)
SIZE size in bytes of this mail message
LINES number of lines of this mail message
ANSWERED boolean flag if this mail message has been answered
DELETED boolean flag if this mail message has been deleted
BlueDragon 6.1 CFML Compatibility and Reference Guide 29