2010-12-02 23:34:41 +00:00
|
|
|
/*
|
|
|
|
|
* Autogenerated by Processmaker Daemon System
|
2014-03-21 12:53:37 -04:00
|
|
|
*
|
2010-12-02 23:34:41 +00:00
|
|
|
* Generic Send Message trigger
|
|
|
|
|
* {timestamp}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
$sRecipientTO = "{TO}";
|
|
|
|
|
$sRecipientCC = "{CC}";
|
|
|
|
|
$sRecipientBCC = "{BCC}";
|
|
|
|
|
|
2014-03-21 12:53:37 -04:00
|
|
|
/*Composing the message using PMFGetUserEmailAddress() PM function*/
|
2010-12-02 23:34:41 +00:00
|
|
|
$from = '{from}';
|
2014-03-21 12:53:37 -04:00
|
|
|
$to = PMFGetUserEmailAddress($sRecipientTO, @@APPLICATION);
|
|
|
|
|
$cc = PMFGetUserEmailAddress($sRecipientCC, @@APPLICATION);
|
|
|
|
|
$bcc = PMFGetUserEmailAddress($sRecipientBCC, @@APPLICATION);
|
2010-12-02 23:34:41 +00:00
|
|
|
$subject = '{subject}';
|
|
|
|
|
$template = '{template}';
|
|
|
|
|
|
|
|
|
|
/*send using PMFSendMessage() PM function*/
|
|
|
|
|
PMFSendMessage(@@APPLICATION, $from, $to, $cc, $bcc, $subject, $template);
|