SendEmail Script Examples: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
(403051)
 
mNo edit summary
Line 11: Line 11:
</pre>
</pre>


[[Cateogry:Examples]]
[[Category:Examples]]

Revision as of 09:03, 20 June 2016

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