Skip to content

Attach

Attaches the given content as an attachment to the message.

1
myMessage.Attach(fileName: string, mimeType: string, content: string):Message

Parameters

string fileName
    The file name of the attachment.

string mimeType
    The MIME type of the attachment.

string content
    The content of the attachment, encoded in Base64.

Returns

The current message instance.

See Also