====== SendMailUseChannel ====== The **SendMailUseChannel()** function allows messages to be sent from a mapping using a [[en:kommunikation:kanal:smtpsend|]]. ===== Parameter: ===== - Name of the [[en:kommunikation:kanal:smtpsend|]] - Recipient address((Multiple mail addresses can be specified, separated by semicolons.)) - Subject - message text - Attachment((optional)) In the subject and message body, [[en:prozessdefinition:repositorien:kontainerisierer:mask|]] 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)