function htmlmail_enable in HTML Mail 6.2
Same name and namespace in other branches
- 8.2 htmlmail.install \htmlmail_enable()
- 7.2 htmlmail.install \htmlmail_enable()
- 7 htmlmail.install \htmlmail_enable()
Implements hook_enable().
File
- ./
htmlmail.install, line 109 - Installation for HTML Mail module.
Code
function htmlmail_enable() {
// Make sure the class include file gets listed in the registry.
autoload_registry_update();
// Load mailsystem if necessary.
module_load_include('module', 'mailsystem');
mailsystem_set(array(
'htmlmail' => 'HTMLMailSystem',
));
mailsystem_get_classes(TRUE);
}