ItemAttachmentSaveAs()

Saves an attachment to a specified directory, or default macros directory.

Token ID

AFTKN_ITEM_ATTACHMENT_SAVE_AS or 671

Syntax

VOID ItemAttachmentSaveAs(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

Attachment name. Path is optional.