Shopping Cart Operations > Support

Password reset emails trigger base64 encoding and being blocked on email gateway

<< < (2/2)

Rdw:
Hello

Switched back to PHP and exactly the same is happening even when using -f and -r

Emails for password resets for the rest link are being blocked

abolabo:
please try to edit file core/lib/mail.php

Just replace

--- Code: ---$header['From'] = '=?UTF-8?B?'.base64_encode($this->sender).'?='.'<'.$this->from.'>';
--- End code ---
with this

--- Code: ---$header['From'] = (preg_match('/[^\x20-\x7f]/', $this->sender)  ? "=?UTF-8?B?". base64_encode($this->sender) ."?=" : $this->sender ) ." <".$this->from.">";
--- End code ---

and let us know

Basara:
Hello.
Please try these code fix https://github.com/abantecart/abantecart-src/commit/0b3d16ea80c26b4b080977feeb27acbaeace49d5

Navigation

[0] Message Index

[*] Previous page

Go to full version
Powered by SMFPacks Social Login Mod