I'm facing a new problem with WordPress user registration on a site.
/usr/sbin/sendmail is used to send users a generated password via email.
this (https://github.com/PHPMailer/PHPMailer/issues/1059) link suggests (by its answer) that a "certificate" may be needed.
I think it means an SSL certificate. I think maybe I need to set up https on my account, and buy a certificate these days anyway, but is there a recent change in your infrastructure to cause this to break? I'm finding I'm at a loss. below is debug output:
object(PHPMailer)#188 (45) {
["Priority"]=>
int(3)
["CharSet"]=>
string(5) "UTF-8"
["ContentType"]=>
string(10) "text/plain"
["Encoding"]=>
string(4) "8bit"
["ErrorInfo"]=>
string(43) "SMTP Error: Could not connect to SMTP host."
["boundary"]=>
array(2) {
[1]=>
string(35) "b1_14da30bbe16503ab2af64d9f6e4a194e"
[2]=>
string(35) "b2_14da30bbe16503ab2af64d9f6e4a194e"
}
["language"]=>
array(13) {
["mailer_not_supported"]=>
string(25) " mailer is not supported."
["provide_address"]=>
string(55) "You must provide at least one mailer is not supported."
["execute"]=>
string(19) "Could not execute: "
["instantiate"]=>
string(36) "Could not instantiate mail function."
["authenticate"]=>
string(35) "SMTP Error: Could not authenticate."
["from_failed"]=>
string(35) "The following From address failed: "
["data_not_accepted"]=>
string(30) "SMTP Error: Data not accepted."
["recipients_failed"]=>
string(56) "SMTP Error: The following SMTP Error: Data not accepted."
["connect_host"]=>
string(43) "SMTP Error: Could not connect to SMTP host."
["file_access"]=>
string(23) "Could not access file: "
["file_open"]=>
string(33) "File Error: Could not open file: "
["encoding"]=>
string(18) "Unknown encoding: "
["signing"]=>
string(15) "Signing Error: "
}