Name

CFPOP

Synopsis

<CFPOP>

Retrieves mail, including file attachments, from a POP server.

Attributes

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.

SERVER=" POP_server "

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

PORT=" port_number "

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

USERNAME=" username "

A username to use when logging into the POP server. Optional. If no username is specified, the tag defaults to anonymous access.

PASSWORD=" password "

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

NAME=" query_name "

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

MESSAGENUMBER=" message_number "

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

UID=" UID "

The unique identifier (UID) assigned to a mail message or comma-delimited list of UIDs, to perform the specified ACTION on. UID may be used in place of the MESSAGENUMBER attribute in cases where the specified POP server doesn’t support message numbers (as in the case of the Mercury POP server). Optional. New as of ColdFusion 4.5.1 SP2.

ATTACHMENTPATH=" path "

The full path to use to store file ...

Get Programming ColdFusion 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.