Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function myext_civicrm_caseChange(\Civi\CCase\Analyzer $analyzer) {
- $emailRecipient = '[email protected]';
- $emailSubject = "Case data from hook";
- $emailBody = "Contents of $Analyzer: " . print_r($analyzer);
- mail( $emailRecipient, $emailSubject, $emailBody );
- }
Advertisement
Add Comment
Please, Sign In to add comment