AttachmentRoot property: MCFGetMail class

Description

Use this property to specify the root directory where the attachments are stored. If not specified, the value from the node is used.

Valid metastrings that can be included in the value for this property are:

Parameter Description

%CURRDATE%

Current date in YYYYMMDD format

%CURRHOUR%

Current hour in 24–hour format (00-23)

%DBNAME%

Current value of %DbName system variable.

%OPRID%

Current value of %UserId system variable.

This property is read/write.

Example

To have the attachment root directory change hourly, you could use the following code example:

&MyEmail.AttachmentRoot = "c:\temp\%CURRDATE%\%CURRHOUR%\";