O'Reilly logo

Programming ColdFusion MX, 2nd Edition by Rob Brooks-Bilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required