Our internet provider updated its servers and after that we get the following error message when sending an e-mail :
"Notice: mail(): Policy restriction in effect. The fifth parameter is disabled on this system in /xxxxxx/shop/includes/system/ versioned/1.0.8.5/email.php on line 398 Warning: Cannot modify header information - headers already sent by (output started at /xxxxxxx/shop/includes/system/versioned/1.0.8.5/email.php:398) in / xxxx/shop/includes/system/versioned/1.0.8.5/href.php on line 168"
Does anyone know how this can be resolved?
Phoenix 1.0.8.16
PHP = 8.3
Error sending e-mail
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Error sending e-mail
It's saying to change https://github.com/CE-PhoenixCart/Phoen ... l.php#L381 from to I.e. remove
Code: Select all
return mail($to, $this->ensure_encoding($subject), $this->output, implode($this->lf, $headers), "-f$from_addr");Code: Select all
return mail($to, $this->ensure_encoding($subject), $this->output, implode($this->lf, $headers));Code: Select all
, "-f$from_addr"