Internet Direct (Indy)
Home
PreviousUpNext
TIdMessage.AttachmentTempDirectory Property

Path to use when creating or accessing the temporary files for file-based attachments in the message.

Pascal
property AttachmentTempDirectory: string;

AttachmentTempDirectory is a string property that indicates the path to use when creating or accessing the temporary files needed for file-based attachments in the message. AttachmentTempDirectory is used when TIdAttachmentFile instances are added to the MessageParts for the message. 

When assigning a new value to AttachmentTempDirectory, a trailing path delimiter in the new property value is removed. Changing the value in AttachmentTempDirectory after loading or creating file-based attachments does not affect the temp file path or stored path name used for the existing attachments. Assign the value for the AttachmentTempDirectory property prior to loading a message or manipulating the MessageParts in the message.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.