On all three client sites the above SMTP Mailer setup is working.
On one site I get the following error:
Creation of dynamic property email::$phpmailerCharSet is deprecated in file: /home/mysite/public_html/accounts/reporting/includes/class.mail.inc at line 131
I have tried to redo the installation with still the same error. It is sending the email even with the error. Do not know why this is the only site with this error.
The Class.mail.inc at line 131 - 142 has the following code as downloaded for use with SMTP PHPMailer:
public function send() {
$this->phpmailerCharSet = $this->charset;
//send the message, check for errors
if (!$this->phpmailer->send()) {
error_log('Mailer error:' . $this->phpmailer->ErrorInfo);
//echo "Mailer Error: " . $this->phpmailer->ErrorInfo;
return 0;
} else {
return 1;
}
}
}-----------------
It is the same code on other installations and none of them has this particular problem.
