Inhaltsverzeichnis

SendMailUseChannel

The SendMailUseChannel() function allows messages to be sent from a mapping using a SMTP send channel.

Parameter:

  1. Name of the SMTP send channel
  2. Recipient address1)
  3. Subject
  4. message text
  5. Attachment2)

In the subject and message body, Masks can be used.

Example:

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)
1)
Multiple mail addresses can be specified, separated by semicolons.
2)
optional