Name

cfpop

Synopsis

<cfpop>

Retrieves email, including multi-part mail messages containing HTML and text as well as file attachments, from a POP server.

Attributes

server=" POP_server"

Hostname or IP address of the POP server you want to retrieve mail from. Required.

action=" action "

Specifies the action for the cfpop tag to take. Optional. The default value is GetHeaderOnly, which returns the message header only. GetAll returns the message header and message body, plus file attachments if a value is specified for attachmentpath. Delete deletes messages from the server.

attachmentpath=" path "

The full path to use to store file attachments when action is GetAll. Optional.

generateuniquefilenames="Yes|No"

Whether or not to automatically generate unique filenames for file attachments so that name conflicts can be avoided. Generated names are guaranteed to be unique within the specified directory. Optional. The default is No.

maxrows=" integer "

The maximum number of messages to be retrieved for the query. Optional. This attribute is ignored if a value is given for messagenumber.

messagelabel=" message_number "

The message number or comma-delimited list of message numbers to perform the specified action on. Optional.

name=" query_name "

The name to assign the query object created when action is Get or GetAll. Optional.

password=" password "

A password to use in order to log into the POP server. Optional.

port=" port_number "

Port on the POP server to use. Optional. The default ...

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.