You are here

function phpmailer_update_7001 in PHPMailer 7.4

Same name and namespace in other branches
  1. 7.3 phpmailer.install \phpmailer_update_7001()

Add support for the Mail System module.

File

./phpmailer.install, line 152
PHPMailer installation functions.

Code

function phpmailer_update_7001() {
  if (module_exists('mailsystem')) {
    mailsystem_set(array(
      'phpmailer' => 'DrupalPHPMailer',
    ));
  }
}