function phpmailer_preview_access in PHPMailer 7.4
Same name and namespace in other branches
- 5.2 phpmailer.module \phpmailer_preview_access()
- 6.3 phpmailer.module \phpmailer_preview_access()
- 6 phpmailer.module \phpmailer_preview_access()
- 6.2 phpmailer.module \phpmailer_preview_access()
- 7.3 phpmailer.module \phpmailer_preview_access()
Menu access callback; Determine access for HTML mail preview page.
1 string reference to 'phpmailer_preview_access'
- phpmailer_menu in ./
phpmailer.module - Implements hook_menu().
File
- ./
phpmailer.module, line 169 - Integrates the PHPMailer library for SMTP e-mail delivery.
Code
function phpmailer_preview_access() {
if (module_exists('mimemail')) {
return user_access('administer phpmailer settings');
}
return FALSE;
}