function phpmailer_menu in PHPMailer 7.3
Same name and namespace in other branches
- 5.2 phpmailer.module \phpmailer_menu()
- 5 phpmailer.module \phpmailer_menu()
- 6.3 phpmailer.module \phpmailer_menu()
- 6 phpmailer.module \phpmailer_menu()
- 6.2 phpmailer.module \phpmailer_menu()
- 7.4 phpmailer.module \phpmailer_menu()
Implements hook_menu().
File
- ./
phpmailer.module, line 23 - Integrates the PHPMailer library for SMTP e-mail delivery.
Code
function phpmailer_menu() {
$items['admin/config/system/phpmailer'] = array(
'title' => 'PHPMailer',
'description' => 'Configure PHPMailer settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'phpmailer_settings_form',
),
'access arguments' => array(
'administer phpmailer settings',
),
'file' => 'phpmailer.admin.inc',
);
// @todo Move to Mime Mail project.
$items['phpmailer/preview'] = array(
'title' => 'Mail preview',
'page callback' => 'phpmailer_preview',
'access callback' => 'phpmailer_preview_access',
'file' => 'phpmailer.admin.inc',
'type' => MENU_CALLBACK,
);
return $items;
}