AddFile(Value)

Adds a file as an attachment to the Email object.

Parameters

Value. Specifies the full path to the file to be attached.

Return value
  • true. Indicates that the specified file exists.
  • false. Indicates that the specified file doesn't exist.
Examples
Copy
email.AddFile('C:\MyFolder\MyWordFile.docx');