You are here

function amazon_ses_enable in Amazon SES 7

Same name and namespace in other branches
  1. 7.2 amazon_ses.install \amazon_ses_enable()

Implements hook_enable().

File

./amazon_ses.install, line 10
The installation file for amazon_mail_service module.

Code

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);
}