function phpmailer_preview_access in PHPMailer 5.2
Same name and namespace in other branches
- 6.3 phpmailer.module \phpmailer_preview_access()
- 6 phpmailer.module \phpmailer_preview_access()
- 6.2 phpmailer.module \phpmailer_preview_access()
- 7.4 phpmailer.module \phpmailer_preview_access()
- 7.3 phpmailer.module \phpmailer_preview_access()
Menu access callback; Determine access for HTML mail preview page.
1 call to phpmailer_preview_access()
- phpmailer_menu in ./
phpmailer.module - Implementation of hook_menu().
File
- ./
phpmailer.module, line 181 - 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;
}