AttachmentSaveAs()

Saves an attachment with a new file name. For this token to function, the message window with the attachment in the list must be showing.

Token ID

AFTKN_SAVE_AS or 591

Syntax

VOID AttachmentSaveAs(ANSISTRING NewFilename; 
                       WORD AttachmentIndex)

Parameters

NewFilename As ANSISTRING

Name to save the file as.

AttachmentIndex as WORD