Skip to content

Message.AttachString

Overview

Message Message.AttachString ( fileName, [ mimeType ], content )
Adds a new attachment with plain text.

Arguments

String fileName Name of file attachment.

String mimeType Mime type of attachment. If specified as empty or null value "text/text" is used.

String content Content of file.

Remarks

Examples

Attach file

message.AttachString('text.txt','text/text','Hello!');

See Also