Post by peter-hnr » Sat Jun 15, 2013 12:29 am

It seems that a lot of people having problem with email in 1.5.5.1
I cant send e-mail to customers.
I added some fix from someone so now i dont get the error no text in message field
but the mail is not send
How can i/you fix this??
Regards
Peter

New member

Posts

Joined
Wed Apr 04, 2012 6:56 am

Post by Daniel » Sat Jun 15, 2013 12:38 am

mail server? mail settings? smtp?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by peter-hnr » Sat Jun 15, 2013 1:23 am

smtp
Well, after installation of 1.5.5.1 the verification mail to customers did not work,only the mail to admin.
And sendin mail to customers did not work it said the message field whas empty
I added a xml fix so the error is gone. but the mail is not sent. i can live with this for now.
but the big problem is that the customer dont get there welcome mail.
ANd i never had these problems in any of my older versions :-(

New member

Posts

Joined
Wed Apr 04, 2012 6:56 am

Post by peter-hnr » Sat Jun 15, 2013 1:49 am

XML fix i added
<?xml version="1.0" encoding="utf-8"?>
<modification>
<id>Fix OC 1.5.5.1 bug in admin Sales -> Mail</id>
<version>1.0</version>
<vqmver>2.3.0</vqmver>
<author><![CDATA[svetlana.sinakova@partneris.lv and greg@hartwig.com per http://forum.opencart.com/viewtopic.php?f=20&t=94557]]></author>

<file name="admin/view/template/sale/contact.tpl">
<operation>
<search position="replace"><![CDATA[$('textarea[name=\'message\']').html($('textarea[name=\'message\']').val());]]></search>
<add><![CDATA[$('textarea[name=\'message\']').html(CKEDITOR.instances.message.getData());]]></add>
</operation>
</file>


<file name="admin/model/sale/order.php">
<operation>
<search position="replace"><![CDATA[$query = $this->db->query("SELECT DISTINCT email FROM `" . DB_PREFIX . "order` o LEFT JOIN " . DB_PREFIX . "order_product op ON (o.order_id = op.order_id) WHERE (" . implode(" OR ", $implode) . ") AND o.order_status_id <> '0' LIMIT " . $start . "," . $end);]]></search>
<add><![CDATA[$query = $this->db->query("SELECT COUNT(DISTINCT email) AS total FROM `" . DB_PREFIX . "order` o LEFT JOIN " . DB_PREFIX . "order_product op ON (o.order_id = op.order_id) WHERE (" . implode(" OR ", $implode) . ") AND o.order_status_id <> '0'");]]></add>
</operation>

<operation>
<search position="replace"><![CDATA[$query = $this->db->query("SELECT DISTINCT email FROM `" . DB_PREFIX . "order` o LEFT JOIN " . DB_PREFIX . "order_product op ON (o.order_id = op.order_id) WHERE (" . implode(" OR ", $implode) . ") AND o.order_status_id <> '0'");]]></search>
<add><![CDATA[$query = $this->db->query("SELECT DISTINCT email FROM `" . DB_PREFIX . "order` o LEFT JOIN " . DB_PREFIX . "order_product op ON (o.order_id = op.order_id) WHERE (" . implode(" OR ", $implode) . ") AND o.order_status_id <> '0' LIMIT " . $start . "," . $end);]]></add>
</operation>
</file>

</modification>

New member

Posts

Joined
Wed Apr 04, 2012 6:56 am

Post by Daniel » Sat Jun 15, 2013 2:04 am

does it work when you remove this mod script?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by peter-hnr » Sat Jun 15, 2013 2:09 am

Nop
Customers never get verification :-(
(I am recieving mail when a customer is registred)
and im not alone with this problem that started for me with 1.5.5.1.
btw i still have my old installation with the same setting 1.5.1.3 on the same server
and that one works great.
Can it be OC 1.5.5.1 together with the new PHP that my ISP installed??
or spamfilter,,,but OC sends mail to Admin so that works :-/

New member

Posts

Joined
Wed Apr 04, 2012 6:56 am

Post by peter-hnr » Sun Jun 16, 2013 6:26 pm

I updated my html email template
it solved the error when sending files to customer as admin
The things still not working is
Customers dont get the registration verification (admin get a verification)
contact form is not working, no mail to customer or admin
Realy need to know where to start searchin :-(
so please point me in some direction
I dont want to start over again with a new installation
/P

New member

Posts

Joined
Wed Apr 04, 2012 6:56 am

Post by caedmon_huang » Sat Jun 22, 2013 11:35 pm

I have a the same problem, but change the mail protocol to mail,instead smtp, only gmail could receive the email from admin, the other email address could not receive at all.I don't where to set.
the forgot password, register alarm mail and order alarm all is normal, but the email send by admin to customer could not work, who could help me how to solve. OC 1.5.5.1.
ERROR receive from the admin mail as following:

Hi. This is the qmail-send program at gproxy3-pub.unifiedlayer.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxxxx@163.com>:
Connected to 220.181.14.154 but sender was rejected.
Remote host said: 553 Requested action not taken: no smtp MX only,mx32,UsCowEDZpE5dbcVRtf_SCw--.2353S2 1371893086

--- Enclosed are the original headers of the message.

Newbie

Posts

Joined
Wed Mar 06, 2013 11:22 pm
Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests