Attachment Property  
 

Return the name of the attached file in the current message part.

Syntax

object.Attachment

Remarks

The Attachment property returns the name of the file attachment in the current part of 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. If the current message part does not contain a file attachment, this property will return an empty string.

Data Type

String

See Also

AttachData Method, AttachFile Method, ExtractFile Method, FindAttachment Method