ADDATTACHMENT
Use this command to add an attachement to your e-mail.
mail.ADDATTACHMENT(string FileName,
byte[] FileContent);
example:
mail.ADDATTACHMENT(FileRep:GETVALUE('Filename'),
FileRep:GETVALUE('Data'));
Supported on Android and iOS only. Unfortunately Windows does not support this feature, for security reasons.
