GetAttachmentContentID method: IBInfo class

Syntax

GetAttachmentContentID(Index)

Description

Use the GetAttachmentContentID to return the content ID for the specified attachment. The content ID is associated with an attachment when it is added to a message using AddAttachment.

You can use the content ID with other methods, such as AddAttachmentProperty and DeleteAttachment.

Parameters

Parameter Description

Index

Specify the number of the attachment that you want to access the content ID for.

Returns

A string containing the content ID.