function crm_core_contact_mail in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_contact/crm_core_contact.module \crm_core_contact_mail()
- 8.2 modules/crm_core_contact/crm_core_contact.module \crm_core_contact_mail()
- 7 modules/crm_core_contact/crm_core_contact.module \crm_core_contact_mail()
Implements hook_mail().
1 call to crm_core_contact_mail()
- ContactModuleTest::testMail in modules/
crm_core_contact/ tests/ src/ Unit/ ContactModuleTest.php - Test mail hook.
File
- modules/
crm_core_contact/ crm_core_contact.module, line 127 - Provides default CRM Core Contact entities and the ability to create more.
Code
function crm_core_contact_mail($key, &$message, $params) {
$message['subject'] = $params['subject'];
$message['body'][] = $params['message'];
}