Inhaltsverzeichnis

SendMail

The function SendMail() allows messages to be generated and sent during mapping runs.

Parameter:

  1. Mail server
  2. Sender address
  3. Recipient address1)
  4. Subject
  5. Message text
  6. Attachment2)

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

Example:

SendMail('mail.server.com','me@server.com','you@server.com','subject','message text','attachment.dat')

Note: It is a good idea to create the text contents with the mapping rule property Selection Mode = Concatenate and corresponding alternative selectors. Line feeds are created with Char(103),134)).

1)
Several mail addresses can be specified, separated by semicolons.
2)
optional
3)
Line Feed
4)
Carriage Return