User Guide
Chapter 1: ColdFusion Tags 155
NAME
Optional. The name you assign to the index query. Required for
ACTION="GetHeaderOnly" and ACTION="GetAll".
MESSAGENUMBER
Optional. Specifies the message number(s) for the given action.
MESSAGENUMBER is required for ACTION="Delete". If it is provided for
ACTION="GetHeaderOnly" or ACTION="GetAll", only referenced messages will
be retrieved. If it is omitted for ACTION="GetHeaderOnly"or ACTION="GetAll",
all messages available on the server are returned.
MESSAGENUMBER can contain individual message numbers or a comma-
separated list of message numbers. Invalid message numbers will be ignored.
ATTACHMENTPATH
Optional. Allows attachments to be written to the specified directory when
ACTION="GetAll". If an invalid ATTACHMENTPATH is specified, no attachment
files are written to the server.
TIMEOUT
Optional. Specifies the maximum amount of time in seconds to wait for mail
processing. Defaults to 60 seconds.
MAXROWS
Optional. Specifies the maximum number of entries for mail queries. This
attribute is ignored if MESSAGENUMBER is specified.
STARTROW
Optional. Specifies the first row number to be retrieved. Default is 1. This attribute
is ignored if MESSAGENUMBER is specified.
GENERATEUNIQUFILENAMES
Optional. Boolean indicating whether to generate unique file names for the files
attached to an email message in order to avoid naming conflicts when the files are
saved. The default is NO.
CFPOP Query Variables
The following table describes the query variables that are returned by CFPOP. The
example illustrates their use.
CFPOP Query Variables
Variable Names Description
queryname
.RecordCount
The total number of records returned by the query.