Post by dwhobbyshop » Sun Sep 22, 2013 12:54 am

Hello,

i just started a shop with opencart 1.5.6.
Now i have a problem with receiving admin mail.
If i select mail, the customer gets a notification of the order.
If i select STMP, i only get the mail via the contact form, and the customer don't get a notification of an order

Can somebody help me?
Thx

Newbie

Posts

Joined
Sun Sep 22, 2013 12:40 am

Post by siptec » Wed Oct 02, 2013 12:42 am

Same problem here and based on a search of the forum, this is a wide spread issue.

It must have to do with catalog/model/checkout/order.php

Just can't figure out the error.

User avatar
New member

Posts

Joined
Mon Sep 17, 2012 11:32 pm

Post by siptec » Thu Oct 03, 2013 12:43 am

OK, this fixed it for us on Opencart 1.5.5.1

The base 64 encode is messing with the system. Open system/library/mail.php and change

Find this (We had it on line 103):

Code: Select all

$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
and replace it with this:

Code: Select all

$header = 'From: ' . $this->sender . ' <' . $this->from . '>' . $this->newline;
Hope this works for you. Make sure to have a backup of the original in case on any issues.

User avatar
New member

Posts

Joined
Mon Sep 17, 2012 11:32 pm

Post by thecraven » Sat Dec 07, 2013 2:46 am

If it doesn't work what else could I do??
Do you have some ideas.
my situation:
I am using opencart 1.5.6 and I am testing the emails that are being sent when customers place orders.

I have gone into the admin and made sure that I have entered a valid Store Email, made sure that New Order Alert Mail: is set to Yes.

Whenever I make an order I place the order, but as a customer I receive no order email. The store owner also doesn't seem to be sent.

I get nothing in the error.log file system/log I also have nothing in the vqmod.log file.

I am completely stumped as to why these emails are not sending.

I have checked the spam folders of both the customer and the store owner.

Looking at the maillog on the server, there are no records suggesting the email has been sent (this could be why the emails are not being received), but this doesn't explain why the emails are simply not being sent.

The order is listed in admin under Sales->Orders, just no emails.

Newbie

Posts

Joined
Sat Dec 07, 2013 2:44 am

Post by thecraven » Sun Dec 08, 2013 8:43 pm

I have found a couse.
opencart-1-5-6-override-engine-6-1 - this extension, specifically:
catalog->model->checkout
order.php and voucher.php couse this malufunction

Newbie

Posts

Joined
Sat Dec 07, 2013 2:44 am

Post by robocop1953 » Wed Jan 15, 2014 1:33 am

Sorry, having the same problem with 1.5.6 ..... don't quite follow your solution. Can you explain more clearly? (don't see any 'model' > 'checkout' options in 'catalog'?). Also what needs to be done with 'order.php' and 'voucher.php' to correct the problem? Appreciate any help so all customer and store emails will be received. Thanks!

Active Member

Posts

Joined
Wed Jul 17, 2013 2:18 am

Post by pauljf13 » Mon Mar 31, 2014 11:44 pm

siptec wrote:OK, this fixed it for us on Opencart 1.5.5.1

The base 64 encode is messing with the system. Open system/library/mail.php and change

Find this (We had it on line 103):

Code: Select all

$header .= 'From: ' . '=?UTF-8?B?' . base64_encode($this->sender) . '?=' . '<' . $this->from . '>' . $this->newline;
and replace it with this:

Code: Select all

$header = 'From: ' . $this->sender . ' <' . $this->from . '>' . $this->newline;
Hope this works for you. Make sure to have a backup of the original in case on any issues.
This worked for me!! Opencart 1.5.6.1
Thank you so much!

Newbie

Posts

Joined
Mon Mar 31, 2014 11:41 pm

Post by matgenois » Tue Apr 29, 2014 12:30 pm

I have the same problem. I tried the solution (modifying /system/library/mail.php) but it does not solve.

Anyone has another solution? Is this bug has been opened?

Newbie

Posts

Joined
Fri Dec 06, 2013 11:17 pm

Post by shree935 » Wed May 07, 2014 1:31 am

Hi,

using OC 1.5.5.1

Mail is not working. Not getting any emails at all.
Have tried all the solutions in this thread and many other on the www.

https://github.com/opencart/opencart/bl ... y/mail.php

can anyone help ?

Thanks in advance.

Newbie

Posts

Joined
Wed May 07, 2014 1:27 am

Post by boodog » Wed May 06, 2015 6:55 pm

Im struggling with this too. Can someone post an idiots guide to sorting it at all as the people who designed my site wont rectify this without charging me lots of money.

Newbie

Posts

Joined
Fri Jan 02, 2015 9:28 pm
Who is online

Users browsing this forum: No registered users and 23 guests