cfexchangemail
8

Overview ColdFusion Open BlueDragon Lucee

Gets mail messages and attachments, deletes messages, and sets properties for messages on a Microsoft Exchange server. The cfexchangemail tag performs mail actions on an Exchange server that you cannot do using the cfmail tag.

Attributes

Name Required Type Default Description
8
action Yes String The name to use for the JavaScript proxy class. (required)
8
attachmentPath No String The file path of the directory in which to put the attachments. If the directory does not exist, ColdFusion creates it. If you omit this attribute, ColdFusion does not save any attachments. If you specify a relative path, the path root is the ColdFusion temporary directory, which is returned by the GetTempDirectory function. (optional)
8
connection No VariableName The name of the connection to the Exchange server, as specified in the cfexchangeconnection tag. If you omit this attribute, and you specify cfexchangeconnection tag attributes in this tag, Coldfusion creates a temporary connection. (optional)
8
destinationfolder No String The forward slash (/) delimited path, relative to the root of the mailbox, of the folder to which to move the message or messages.
8
folder No String The forward slash (/) delimited path, relative to the inbox, of the folder that contains the message or messages. The cfechangemail tag looks in the specified folder only, and does not search subfolders. If you omit this attribute, Exchange looks in the top level of the inbox. (optional)
11
folderid No String No Help Available
8
generateUniqueFilenames No Boolean A Boolean value specifying whether to generate unique file names if multiple attachments have the same file names. Case "yes": 3x myfile.txt -> myfile.txt, myfile1.txt, and myfile2.txt. (optional, default=no)
8
mailUID No String The case-sensitive UID of the mail message that contains the meeting request, response, or cancellation notfication. You can use this attribute if there are multiple messages about a single meeting. (optional)
8
meetingUID Yes String The case-sensitive UID of the meeting for which you received the notification. (required)
8
message Yes Any A reference to a structure that contains the properties to be set and their values. You must specify this attribute in number signs (#). (required)
8
name Yes String The name of the ColdFusion query variable that will contain the returned mail messages or information about the attachments that were retrieved. (required)
11
serverversion No String No Help Available
8
UID Yes String The case-sensitive UIDs of the messages on which to perform the action. For the delete action, this attribute can be a comma delimited list of UID values. The getAttachments and set actions allow only a single UID value. (required)