Skip to content

Message.AttachFile

Overview

Message Message.AttachFile ( file )
Adds a new attachment with file.

Arguments

FileInfo | Document | String file Instance of file info or Id number of file.

Remarks

Examples

Attach file

message.AttachFile( myFileId );

Attach all files in document

message.AttachFile( myDoc );

See Also