Post by Vinnio » Mon Sep 28, 2009 4:07 pm

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

Newbie

Posts

Joined
Wed Sep 09, 2009 1:03 pm

Post by Vinnio » Mon Sep 28, 2009 5:07 pm

Not only doesn't it send orders, but also no new password for a test account...Hmmm

......VB

Newbie

Posts

Joined
Wed Sep 09, 2009 1:03 pm

Post by jlg89 » Fri Oct 09, 2009 12:04 am

Same issue here...I'm getting the order notification emails to the store owner, but nothing seems to be going to the customers.

New member

Posts

Joined
Tue Aug 04, 2009 11:32 am

Post by aquariandragon » Sat Oct 10, 2009 6:34 pm

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

Code: Select all

mail($to, $this->subject, $message, $headers, "-fxxxxxxxx");
which I added below

Code: Select all

ini_set('sendmail_from', $this->from);
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.


Posts

Joined
Sat Apr 25, 2009 7:09 pm
Location - UK

Post by Qphoria » Tue Oct 27, 2009 9:29 am

just came across this.. perhaps it might help

http://www.php.net/manual/en/function.mail.php#92639

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 6 guests