SHARE
TWEET

caseChange hook

jernic Apr 13th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top