function simple_mail_enable in Simple Mail 7
Implements hook_enable().
File
- ./
simple_mail.install, line 11 - Installation file for Simple Mail module.
Code
function simple_mail_enable() {
$current = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
$addition = array(
'simple_mail' => 'SimpleMailMailSystem',
);
variable_set('mail_system', array_merge($current, $addition));
}