patantas Posted July 17, 2016 Share Posted July 17, 2016 Hello, There is an error when I try to send an email from Contact Us form, because the mail server from my hosting doesn't allow to send mails in name of other domain different than mine. To resolve that I changed the ContactController.php file in order to force the "from" to my Store EMail. But, after doing that, the Reply-To is also forced to the Store Email. The natural way should be that the Reply-To remain as the customer's email. So, what I need to do is to force the Reply-To as my customer's email while having the From as my store's email for the Contact Us page only. Any ideas of how to achieve this? Regards, Link to comment Share on other sites More sharing options...
bellini13 Posted July 17, 2016 Share Posted July 17, 2016 Not sure what version of PS you are using, but in PS v1.6.1.6, support for reply to was added. So the best thing would be to plan an upgrade to PS v1.6.1.6 I realize that may not be possible, so then the second option is to update your Mail.php class to add support for reply to, then update your ContactController to send the correct from and reply_to values to Mail::Send Link to comment Share on other sites More sharing options...
patantas Posted July 18, 2016 Author Share Posted July 18, 2016 Thank you so much bellini13 ... I was on 1.6.0.14. I just upgraded to v1.6.1.6 and the issue was fixed. Regards, Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now