Post by Weiqunw » Mon Jun 15, 2015 5:20 pm

Hi there,

Last week I found out our test shop isn't sending emails (OC 1.6.5.4). Before it worked!

The mails that don't send:
Order confirmation to customer / admin, new customer, contact us.

The mails that I do recieve:
admin e-mail manager, gift voucher, product on stock (extension), order updates.

Also the customer is recieving a order confirmation e-mail there is only a gift voucher in the checkout.
With a product + gift voucher there is no order confirmation e-mail to the customer and admin.

On the same server I also installed a clean OC 1.5.6.4 and it is working without problems.
I also installed the test shop on a other server and there I got the same problems, so I think that it is related to our shop and not the server.

Does anybody have a idea or suggestion where I have to search for the problem? The libary/mail.php file isn't changed.

The settings in the admin are on 'mail' and both e-mail warnings are on 'yes'.

Thanks!
Last edited by Weiqunw on Fri Jun 19, 2015 10:33 pm, edited 2 times in total.

Active Member

Posts

Joined
Wed Jul 10, 2013 3:29 pm
Location - Arnhem, the Netherlands

Post by Weiqunw » Thu Jun 18, 2015 9:10 pm

The mail problem is almost fixed.

Our hosting upgraded from php 5.3 to 5.4.
They changed the email-handling from intern to extern, now I recieve the contact and new customer mails.

The only thing that isn't working right are the new order mails.
If I (as a customer) place a order with only a gift voucher, I recieve a order confirmation mail.
I also recieve a notification in the shop e-mail that there is new order with a gift voucher.

If I order a normal product and normal product + gift voucher, I (as a customer) don't recieve a order confirmation mail.
Also in the shop e-mail, I don't recieve a notification.

Anybody know where I can look for a solution?

Normally we are using Ajax Quickcheckout, but I also tried it by placing a order with the standard OC checkout.

*edit

Problem is solved, the problem was caused by a Vqmod..

Active Member

Posts

Joined
Wed Jul 10, 2013 3:29 pm
Location - Arnhem, the Netherlands

Post by asif » Thu Jul 02, 2015 3:46 am

Re: RESOLVED - OC 1.5.6.4 Email Not Working - Please Help

Postby asif » Wed Jul 01, 2015 7:46 pm
Well, I wasted my 3 to 4 hours working in the same direction of checking with my mail host settings. But this issue is not related to mail settings rather it has to do with the OpenBay Pro that comes up with the OC 1.5+. Even if you install it or not, there is below code in file /catalog/model/order.php at line 213 & 214 causing this issue.

Code: Select all

 if(!isset($passArray) || empty($passArray)){ $passArray = null; }
             $this->openbay->orderNew((int)$order_id);
I commented this code and mail worked perfectly fine. The code was breaking at this location without throwing any exception or error in the log file. And I can see no one from the core OC team has looked into this matter. It was a clean install in my case and so many other and its a basic issue which should have been fixed by now or atleast has some solution on the forums.
anyways, commenting the above lines in the file will work perfectly if you are not using OpenBay Pro, else some one from OC team should look into this matter. but this is a quick & dirty fix from me.

New member

Posts

Joined
Wed Jan 16, 2008 10:35 pm
Who is online

Users browsing this forum: No registered users and 18 guests