Attachment Property  
 

Gets and sets the name of the current file attachment.

Syntax

object.Attachment [= filename ]

Remarks

The Attachment property specifies the name of the file attachment in a multipart message. When a new part is selected that contains an attached file, the Attachment property is updated to reflect the attached file's name.

This property is used by the attach and extract actions to specify the local file name that will be used. Changing its value does not change the attached file name in the multipart message itself.

Data Type

String

See Also

Boundary Property, FileName Property, AttachFile Method, ExtractFile Method, FindAttachment Method