3-1-Tags:CFImap

last edited byusericonlmajano on 23-Aug-2009

Contents

cfimap

Description

Retrieves and deletes e-mail messages from a Imap mail server.

Category

Other

Implemented

Usage Syntax

<cfimap  
	server="String"
	[uid="String"]
	[port="number"]
	[username="String"]
	[password="String"]
	[action="String"]
	[name="String"]
	[messageNumber="String"]
	[attachmentPath="String"]
	[timeout="number"]
	[maxRows="number"]
	[startRow="number"]
	[generateUniqueFilenames="Boolean"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
server String Yes Host name biff.upperlip.com or IP address 192.1.2.225 of the Imap server.
uid String No
port number No Defaults to the standard Imap port, 143.
username String No If no user name is specified, the Imap connection is anonymous.
password String No Password that corresponds to user name.
action String No Specifies the mail action.
name String No Name for the index query.
messageNumber String No Can be a comma-separated list of the message ids
attachmentPath String No 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 number No Specifies the maximum time, in seconds, to wait for mail processing. Defaults is 60 seconds.
maxRows number No Sets the number of messages returned, starting with the number in the startRow attribute. This attribute is ignored if messageNumber is specified.
startRow number No Specifies the first row number to be retrieved. Default is 1. This attribute is ignored if messageNumber is specified.
generateUniqueFilenames Boolean No Boolean indicating whether to generate unique filenames for the files attached to an e-mail message to avoid naming conflicts when the files are saved. Default is NO.

Example Usage

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

comments Comments (1)

You need to login in order to comment!

monaya@gmail.com's Gravatar

Omar said

at 09:55:59 PM 13-Mar-2011

So there is no way to use the "folder" attribute for cfimap on railo? I need to interact with the folders on an imap mailbox...