Skip to content

Instantly share code, notes, and snippets.

@roberttdev
Created March 2, 2015 22:22
Show Gist options
  • Save roberttdev/f2d6b426a9f5eb33a768 to your computer and use it in GitHub Desktop.
Save roberttdev/f2d6b426a9f5eb33a768 to your computer and use it in GitHub Desktop.
$email_params = array(
'subject' => 'PAPERS User has been merged',
'body' => 'PAPERS user "' . $other->display_name . '" has updated their username from "' . $other->external_identifier . '" to "' . $main->external_identifier . '". Please update your records.',
'from' => '[email protected]',
);
drupal_mail('oasis_cas_service_tracking', 'merge_notification', variable_get('oasis_cas_papers_admin_email'), language_default(), $email_params);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment