SendEmail Script Examples

From QPR ProcessAnalyzer Wiki
Revision as of 09:03, 20 June 2016 by TeeHiet (talk | contribs)
Jump to navigation Jump to search

This page contains script examples for the SendEmail script command.

The following example will send an e-mail message to multiple recipients.

(SELECT 'EmailFrom', 'example.from@address.com') UNION ALL
(SELECT 'EmailTo', 'recipient.one@address.com,recipient.two@address.com,recipient.three@address.com') UNION ALL
(SELECT 'EmailSubject', 'Example E-mail') UNION ALL
(SELECT 'EmailBody', 'QPR ProcessAnalyzer example script started running.') UNION ALL
(SELECT 'SmtpServer', 'localhost')
--#SendEmail