Trying to get SMTP working, get an error...

marisag

New Member
Im trying to get email sending working, but I get an error and it says the mail fails:
Screenshot from 2021-01-19 12-56-56.png

Here is how I have my SMTP page set up:
Screenshot from 2021-01-19 13-39-15.png

Any ideas?
 
Check your servers mail log and error log for clues, double check to make sure your SMTP credentials are accurate. SMTP host is usually a domain name, not localhost (though localhost may also work).
 
Hello, i try to send mail with smtp and i have :

AH01071: Got error 'PHP message: PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /var/www/vhosts/xxx.com/httpdocs/sources/misc/class.smtp.php on line 254', referer: https://www.xxx.com/index.php?a=admin&b=email

i have a server with plesk with Let's Encrypt

Do you have some ideas ?

Thank
 
Most likley the CA certificates you have installed are outdated and/or do not include the root certificate.

This guide should help you:

 
When you are using Plesk, you can set a specific SSL Cert for your mail-server in Plesk. So if your TLD example.com you need to set the cert form example.com in you mail server settings.
 
I put the same certificate for the server and for the mail server but still no positive result, no problem, I'll stay with the php mail
 
Back
Top