Skip to main content

Email Attachment

Syntax

EMAIL ATTACHMENT [[~]filename.txt]

Parameters

  • No parameter: The body of the report is sent as a text attachment.
  • [~]filename.txt: A specific text file to be attached. Use ~ to specify a file in the current race directory.

Description

Attaches a file to the email.

Remarks

Only text files are supported as attachments. If you provide a filename, the body of the listing will still appear in the email, and the specified file will be attached separately. If you use EMAIL ATTACHMENT with no filename, the listing itself becomes the attachment.

Examples

To send the report itself as an attachment named "results.txt":

DESTINATION results.txt
EMAIL ATTACHMENT

To send an email with a separate file attached:

EMAIL ATTACHMENT ~thisfile.txt