PHPMailer\PHPMailer
PHPMailer::isQmail()
Send messages using qmail.
Method of the class: PHPMailer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->isQmail();
PHPMailer::isQmail() PHPMailer::isQmail code WP 6.6.2
public function isQmail() { $ini_sendmail_path = ini_get('sendmail_path'); if (false === stripos($ini_sendmail_path, 'qmail')) { $this->Sendmail = '/var/qmail/bin/qmail-inject'; } else { $this->Sendmail = $ini_sendmail_path; } $this->Mailer = 'qmail'; }