function crm_core_contact_mail in CRM Core 7
Same name and namespace in other branches
- 8.3 modules/crm_core_contact/crm_core_contact.module \crm_core_contact_mail()
- 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()
Implements hook_mail().
File
- modules/
crm_core_contact/ crm_core_contact.module, line 1637 - 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'];
}