SMTP connect() failed – cafile / cacert error
-
Hi,
We just noticed that the “WP Mail SMTP” plugin is no longer sending email notifications once someone fills out our online form. Originally we had used Gmail with the WP Mail SMTP plugin as the email provider, I have also tried using Sendinblue as well as “Other SMTP” to test using my own email address (SMTP settings). Everything was working up until June 23, 2021 and now emails are not being sent.
I tried to contact the support team with my webhosting company (Hostpapa) and they are telling me it has something to do with the PHPMailer WordPress plugin, I do not agree. Searching through support threads, I saw it could be the path for the /cacert.pem file. This option doesn’t make sense to me, because nothing has been changed on our end, and I am not sure why all of a sudden there is an issue with our SSL Certificate or cacert.pem file.
Here are the error messages I get when trying to send a test email:
Debug:
Mailer: Other SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingSMTP Debug:
2021-07-16 17:00:23 Connection: opening to ssl://mail.designremedyinc.com:465, timeout=300, options=array()
2021-07-16 17:00:23 Connection failed. Error #2: failed loading cafile stream: `
/cacert.pem’ [/home/thepr8/bankruptcysd.com/wp-includes/PHPMailer/SMTP.php line 387]
2021-07-16 17:00:23 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/thepr8/bankruptcysd.com/wp-includes/PHPMailer/SMTP.php line 387]
2021-07-16 17:00:23 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://mail.designremedyinc.com:465 (Unknown error) [/home/thepr8/bankruptcysd.com/wp-includes/PHPMailer/SMTP.php line 387]
2021-07-16 17:00:23 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Does anyone have suggestions on how to resolve this issue?
Thanks,
Brad- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘SMTP connect() failed – cafile / cacert error’ is closed to new replies.