ItemAttachmentUpdate()

Replaces one attachment with another. It only works on attachments of class type "File."

Token ID

AFTKN_ITEM_ATTACHMENT_UPDATE or 753

Syntax

VOID ItemAttachmentUpdate(ANSISTRING MessageID; 
                           WORD Index;
                           ANSISTRING Filename)

Parameters

MessageID As ANSISTRING

Unique item identifier, returned by ItemMessageIDFromView().

Index As WORD

Attachment index number (zero-based).

Filename As ANSISTRING

Replacement Attachment.