The SendMailUseChannel() function allows messages to be sent from a mapping using a SMTP send channel.
In the subject and message body, Masks can be used.
SendMailUseChannel('SmtpChannel', 'user@mein.kunde.de', 'EDI file to your document number ${DocumentNumber}', 'Dear Sir or Madam, attached is the EDI file related to your document no. ${DocumentNumber}, received on ${MessageEntryDate:yyyy-MM-dd} the message with the subject "${Subject}". Our ID: ${fn:XVar("DocId")} Yours sincerely, EDI User ', $SavedEdiFile)