AddAttachment

The AddAttachment function adds a file as an attachment to the mail.

Syntax

Important:

This feature is deprecated, its use is discouraged although not prohibited.

CALL ui.Interface.frontCall("WinMail","AddAttachment",
  [ id, fileName], [ result ] )
  • id is the message identifier.
  • fileName is the path of the attachment; the path can be relative to the directory from which GDC is run, or absolute.
  • result is the status of the function.

Usage

This function adds a file as an attachment to the mail. The file must be located on the front-end.