function hook_webform_html_capable_mail_systems_alter in Webform 7.4
Modify the list of mail systems that are capable of sending HTML email.
Parameters
array &$systems: An array of mail system class names.
Related topics
File
- ./
webform.api.php, line 1423 - Sample hooks demonstrating usage in Webform.
Code
function hook_webform_html_capable_mail_systems_alter(array &$systems) {
if (module_exists('my_module')) {
$systems[] = 'MyModuleMailSystem';
}
}