ItemAttachmentDelete()

Deletes an attachment. Using X00 will work for the messageID if the item view is showing.

Token ID

AFTKN_ITEM_ATTACHMENT_DELETE or 666

Syntax

VOID ItemAttachmentDelete(ANSISTRING MessageID; 
                           WORD Index)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Index As WORD

Attachment index number (zero-based).