amazon_ses.install in Amazon SES 7.2
Same filename and directory in other branches
The installation file for amazon_mail_service module.
File
amazon_ses.installView source
<?php
/**
* @file
* The installation file for amazon_mail_service module.
*/
/**
* Implements hook_enable().
*/
function amazon_ses_enable() {
$mail_modes = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
$mail_modes['default-system'] = 'AmazonSesSystem';
variable_set('mail_system', $mail_modes);
}
/**
* Implements hook_disable().
*/
function amazon_ses_disable() {
$mail_modes = variable_get('mail_system');
$mail_modes['default-system'] = 'DefaultMailSystem';
variable_set('mail_system', $mail_modes);
}
Functions
Name | Description |
---|---|
amazon_ses_disable | Implements hook_disable(). |
amazon_ses_enable | Implements hook_enable(). |