Installation guide
DRAFT – boolean flag if this email is a draft 
FLAGGED – boolean flag if this email has been flagged 
RECENT – boolean flag if this email is recent 
SEEN – boolean flag if this email has been seen 
BODY – array of Body structures [see below] 
The body of the email is treated with some consideration. Due to the various properties a 
MIME type email message can have, each element in the array is effectively the MIME 
part that was transmitted with the email. 
MIMETYPE – the MIME type of this part 
CONTENT – the content of this email if not an attachment 
FILE – boolean flag to indicate if there is a file attached. 
FILENAME – the name of the attached file. 
URL – the URI to the saved file. 
SIZE – the size of the saved file. 
This action will not overwrite any existing files; instead, it will create a unique name for 
it. 
4.5.7.6 Marking Mail Messages as “Read” 
You can mark messages as having been read by specifying ACTION=”MARKREAD”, a folder 
name, and a list of message IDs: 
<CFIMAP ACTION="MARKREAD" 
 CONNECTION="name" 
 FOLDER="toplevelfoldername" 
 MESSAGELIST="list of IDs"> 
The message list is either a single message ID or a comma-separated list of IDs. 
4.5.7.7 Deleting Mail Messages 
You can delete messages by specifying ACTION=”DELETEMAIL”, a folder name, and a list 
of message IDs: 
<CFIMAP ACTION="DELETEMAIL" 
 CONNECTION="name" 
 FOLDER="toplevelfoldername" 
 MESSAGELIST="list of IDs"> 
The message list is either a single message ID or a comma-separated list of IDs. 
4.5.7.8 Moving Mail Messages between Folders 
You can move a list of messages from one mail server folder to another by specifying 
ACTION=”MOVEMAIL”: 
BlueDragon 6.1 CFML Compatibility and Reference Guide    31   










