You are here

phpmailer.install in PHPMailer 6

PHPMailer installation functions.

File

phpmailer.install
View source
<?php

/**
 * @file
 * PHPMailer installation functions.
 */

/**
 * Implementation of hook_uninstall().
 */
function phpmailer_uninstall() {
  if (strpos(variable_get('smtp_library', ''), 'phpmailer')) {
    variable_del('smtp_library');
  }
  variable_del('smtp_on');
  variable_del('smtp_host');
  variable_del('smtp_hostbackup');
  variable_del('smtp_port');
  variable_del('smtp_protocol');
  variable_del('smtp_fromname');
  variable_del('smtp_username');
  variable_del('smtp_password');
  variable_del('smtp_keepalive');
  variable_del('smtp_debug');
}

Functions

Namesort descending Description
phpmailer_uninstall Implementation of hook_uninstall().