public function PHPMailer::IsQmail in SMTP Authentication Support 7
Same name and namespace in other branches
- 5 smtp.module \PHPMailer::IsQmail()
- 7.2 smtp.phpmailer.inc \PHPMailer::IsQmail()
Sets Mailer to send message using the qmail MTA.
Return value
void
File
- ./
smtp.phpmailer.inc, line 402 - The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.
Class
- PHPMailer
- PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost
Code
public function IsQmail() {
if (stristr(ini_get('sendmail_path'), 'qmail')) {
$this->Sendmail = '/var/qmail/bin/sendmail';
}
$this->Mailer = 'sendmail';
}