Spaces:
Sleeping
Sleeping
| /* | |
| * Autogenerated by Processmaker Daemon System | |
| * | |
| * Generic Send Message trigger | |
| * {timestamp} | |
| */ | |
| $sRecipientTO = "{TO}"; | |
| $sRecipientCC = "{CC}"; | |
| $sRecipientBCC = "{BCC}"; | |
| /*Composing the message using PMFGetUserEmailAddress() PM function*/ | |
| $from = '{from}'; | |
| $to = PMFGetUserEmailAddress($sRecipientTO, @@APPLICATION); | |
| $cc = PMFGetUserEmailAddress($sRecipientCC, @@APPLICATION); | |
| $bcc = PMFGetUserEmailAddress($sRecipientBCC, @@APPLICATION); | |
| $subject = '{subject}'; | |
| $template = '{template}'; | |
| /*send using PMFSendMessage() PM function*/ | |
| PMFSendMessage(@@APPLICATION, $from, $to, $cc, $bcc, $subject, $template); |