Skip to content

AttachFile

Attaches the specified file as an attachment to the message.

myMessage.AttachFile(file: ( string | FileInfo )):Message (FileInfo, Message)

Parameters

( string | FileInfo ) file
    The ID or FileInfo object representing the file to attach.

Returns

The current message instance.

See Also