You have this wrong and now it is the worst of both worlds. There is now way to reply to the email at all now.straightlight wrote: ↑Sun May 31, 2020 9:28 pmI have addressed this issue to Daniel regarding those two variables especially since the $this->request->post['email'] has already been added on the master branch. Based on his decision, an update will be posted.ADD Creative wrote: ↑Sun May 31, 2020 9:23 pmI did and also someone else pointed out it was wrong. https://github.com/opencart/opencart/pull/6594straightlight wrote: ↑Sun May 31, 2020 8:43 pmThis fix was handled by Jesse on Github: https://github.com/opencart/opencart/bl ... ontact.php . It is using the $this->request->post['email'] . You'll have to address this issue on the Github Opencart issues tab.
Also here is stated as some hosts will not send email from other addreses https://github.com/opencart/opencart/is ... -239400277
Putting the customer's email address as the from address seems to be a workaround for a bug in some Microsoft email clients that ignore the reply-to address. Hopefully Microsoft will have fixed that by now.
catalog/controller/information/contact.php:
Code: Select all
$mail->setReplyTo($this->config->get('config_email'));
Code: Select all
$mail->setReplyTo($this->request->post['email']);