Jump to content

Mail notifications not working after PHP upgrade


gregor5

Recommended Posts

We upgraded PHP to version 5.6.36 and our mail notifications stopped working. Prestashop version is 1.6.1.18 and it doesn't matter if I have mail setting on "Use PHP's mail() function" or "Set my own SMTP parameters" ... mails are not going out.

 

Mail was working fine with PHP v. 5.4

Edited by gregor5 (see edit history)
Link to comment
Share on other sites

This is what we see in mail error log:

Jul 10 14:41:34 mx01 postfix/smtpd[2098]: connect from xxxx.xxx.com[xx.xx.56.228]
Jul 10 14:41:34 mx01 postfix/smtpd[2098]: SSL_accept error from xxxx.xxx.com[xx.xx.56.228]: 0
Jul 10 14:41:34 mx01 postfix/smtpd[2098]: warning: TLS library problem: 2098:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:s3_pkt.c:1493:SSL alert number 48:
Jul 10 14:41:34 mx01 postfix/smtpd[2098]: lost connection after STARTTLS from xxxx.xxx.com[xx.xx.56.228]
Link to comment
Share on other sites

  • 4 weeks later...

We are still having this problem - now with PHP 7.0.31 .

 

Anyone else had this issue? ... when I test sending mail using "Use PHP's mail() function" in the back-end (in Prestashop) I get confirmation that everything was fine and mail se

"A test email has been sent to the email address you provided."

 

 But the mail never comes... There is a log of outgoing mails in Prestashop that never came to these addresses. SMTP setting on the other hand gives an error.

 

Customers do not get any notifications.

 

please help

Edited by gregor5 (see edit history)
Link to comment
Share on other sites

  • 5 months later...

Any solutions so far? I have same problem...

 

I guess we need to do something like this solution:

 

https://serverfault.com/questions/660241/postfix-tls-error?fbclid=IwAR23wpDbKaoqkgt-QAdrX0juJ1AG3tUa4ihI2VuLdHUAqr1avu3iRzgt2yk

They are using this code:

 

$config['smtp_conn_options'] = array(
  'ssl'         => array(
     'verify_peer'      => false,
     'verify_peer_name' => false,
  ),
);

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...