Can anyone let me know how to write perl code for sending email notification on state changed to complete only if submitter is "XYZ"
Do not want to use Email Rules as the field value is customized . In description also some wordings are appended
And the notification should be able to trigger from both web and CQ thick client. I am using CQ 7.1.1
1. Fire Email notification on Action complete
2.Check if the submitter is "XYZ"
3. get field values and customize it
4. send the mail to submitter
can someone provide perl snippet example for notification hook
I see one example in google should it be good ?
$MAILHOST = "smtprelay.myserver.com";
$EMAIL = "myname\@us.ibm.com";
$smtp = Net::SMTP->new("$MAILHOST");
$smtp->datasend("Subject: Testing Email Notification Hook \n");
$smtp->datasend("my test message");