Files
luos/workflow/engine/templates/events/sendMessage.tpl

21 lines
644 B
Smarty
Raw Normal View History

2010-12-02 23:34:41 +00:00
/*
* Autogenerated by Processmaker Daemon System
*
2010-12-02 23:34:41 +00:00
* Generic Send Message trigger
* {timestamp}
*/
$sRecipientTO = "{TO}";
$sRecipientCC = "{CC}";
$sRecipientBCC = "{BCC}";
/*Composing the message using PMFGetUserEmailAddress() PM function*/
2010-12-02 23:34:41 +00:00
$from = '{from}';
$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);