Hi,
We are not able to receive emails from our Joomla website anymore. Our website (and Joomla) are hosted on a Microsoft Azure VM.
We have configured SMTP details to one of our google gmail accounts (with "less secure apps" active). The problem only happens with our google account.
We contacted google who say that you need to update the CA certificate.
Please help
Host: smtp.gmail.com
Port: 587
Security: STARTTLS
please see attached config files for System and PHP that I downloaded as JSON files from Joomla
Editing file: libraries\joomla\mail\mail.php
Function: useSmtp
Line number approx.: #630
Change the lines:
if ($secure == 'ssl' || $secure == 'tls')
{
$this->SMTPSecure = $secure;
}
To:
if ($secure == 'ssl' || $secure == 'tls')
{
$this->SMTPSecure = $secure;
$this->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
}
3. The above change worked but I need a proper solution.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-08 18:31:47 |
Closed_By | ⇒ | zero-24 |
You are posting on the wrong github repo.
Please redo on https://issues.joomla.org/