Anyone had an issue with opencart not sending an email (an order, or updates) to customer, only to store owner.
It used to work but for some reason it doesn't.....!!!!
Any help would be MUCH APPRECIATED.....
Thanks...VB
Hi
I had this problem quite a while ago. It was something to do with restrictions on my hosting - I use fasthosts. I can't remember if it was in their own help pages or somewhere in the oc forum I found this line of code
which I added below
at the bottom of /system/library/mail.php.
Please note that the x's represent your email address that you are using to send the emails and the -f needs to be included. If this doesn't fix it for you your hosts may have a variation to use.
I'd like to point out this worked for me in 1.2.8 and I am no expert! I wish you luck with your venture.
There is another thread going for later releases so if you haven't looked there already you should check it out.
I had this problem quite a while ago. It was something to do with restrictions on my hosting - I use fasthosts. I can't remember if it was in their own help pages or somewhere in the oc forum I found this line of code
Code: Select all
mail($to, $this->subject, $message, $headers, "-fxxxxxxxx");
Code: Select all
ini_set('sendmail_from', $this->from);
Please note that the x's represent your email address that you are using to send the emails and the -f needs to be included. If this doesn't fix it for you your hosts may have a variation to use.
I'd like to point out this worked for me in 1.2.8 and I am no expert! I wish you luck with your venture.
There is another thread going for later releases so if you haven't looked there already you should check it out.
Who is online
Users browsing this forum: No registered users and 4 guests