Advertisement
jernic

caseChange hook

Apr 13th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function myext_civicrm_caseChange(\Civi\CCase\Analyzer $analyzer) {
  2.  
  3. $emailRecipient = 'myemailaddress@gmail.com';
  4. $emailSubject = "Case data from hook";
  5. $emailBody = "Contents of $Analyzer: " . print_r($analyzer);
  6. mail( $emailRecipient, $emailSubject, $emailBody );
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement