Forums / General Questions / Email Status Updates Not Being Sent

Email Status Updates Not Being Sent

Started by johnnyt on 3 Dec 2011, 1:55 PM · Views: 2,890

Results 1 to 17 of 17
3 Dec 2011, 1:55 PM
#1
johnnyt avatar

johnnyt

New Zenner

Join Date:
May 2010
Location:
Boston, MA
Posts:
13
Plugin Contributions:
0

Email Status Updates Not Being Sent

I seem to have a weird problem... I have found other types of problems reported, but nobody seems to have this weird problem...

When I update the status of an order or use the same tool (while editing an order) to just send a customer an email... the email doesn't get sent to the customer or to the admin.

If I manually send a message to the customer, it gets sent. The contents of the status update appear as part of the order (ie. the status update works), there are no error messages. When a new order is created, the email goes to both customer and to the assigned admin email account. However, updates created under EDIT ORDER do not get emailed -- to anyone.

Yes -- NOTIFY CUSTOMER is set to "email"
No -- the emails do NOT appear in the archive, this isn't a problem of the messages not being received, this is a problem of the messages not being SENT (apparently).

Since other email work fine (welcome, order creation, direct, etc.) the basics of the email system are working fine.

HOWEVER... messages that should be sent via status updates aren't being sent to anyone (not to the customer and not to the assigned admin email account).

Help!

3 Dec 2011, 6:16 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

Two things:

  1. Please click Reply below and answer all the questions in the Posting Tips section.

  2. You say the emails are "not being sent". It's very rare that they're not actually "sent". Instead it's more likely that they "don't arrive", because they're blocked by spam filters, either by your mailserver or by your receiving mailbox spam system.
    Use the archiving system to see whether Zen Cart is actually sending them or not:
    http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems
    http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Understanding_Causes_Of_Lost_Emails

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Dec 2011, 10:43 PM
#3
johnnyt avatar

johnnyt

New Zenner

Join Date:
May 2010
Location:
Boston, MA
Posts:
13
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

Thanks so much for the reply...

DrByte:

  1. You say the emails are "not being sent". It's very rare that they're not actually "sent". Instead it's more likely that they "don't arrive", because they're blocked by spam filters, either by your mailserver or by your receiving mailbox spam system.
    Use the archiving system to see whether Zen Cart is actually sending them or not:

As I said in my post, the messages are not in the archive. My conclusion, therefore, is that they are not being "sent"... I should (a) either get some type of error on the screen, or (b) find the messages in the archive.

I've looked through the links you suggest, and none of that seems to be applicable: messages ARE being sent fine in most cases, however (and specifically) messages are not being sent when the order status is updated.

I apologize for not posting all of the requested info with my first post -- here's what I know...

I'm using 1.3.9h, upgraded from 1.3.9d in September 2011
Lots of various add-ons, most recently Authorize.net and PayPal express.

I am not sure when this problem started... I don't use the feature very often to communicate with customers... except for at this time of year.

I just wonder if there is a group of files that control this email behavior that I could compare to a clean version of 1.3.9h? I don't know enough to determine which files would be the important ones to checkout.

6 Dec 2011, 3:04 PM
#4
johnnyt avatar

johnnyt

New Zenner

Join Date:
May 2010
Location:
Boston, MA
Posts:
13
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

So... do any of the Zen Masters (or anyone else) have any ideas about where I can look to see what might be causing this problem?

The only other reports I've read all deal with messages not being delivered -- and my problem is with messages not being SENT!

Help, please?

6 Dec 2011, 6:48 PM
#5
hflsales avatar

hflsales

New Zenner

Join Date:
Mar 2009
Posts:
88
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

I am having the exact same problem. Have changed nothing, then on 11/28 my order emails just stopped sending.

6 Dec 2011, 7:26 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

hflsales:

I am having the exact same problem. Have changed nothing, then on 11/28 my order emails just stopped sending.
hflsales,
Um, the person above you was posting about Order STATUS emails. Your post sounds like you're talking about order CONFIRMATION emails. That's not the exact same thing.
Please be more specific about your EXACT problem

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Dec 2011, 9:15 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

JohnnyT:

I just wonder if there is a group of files that control this email behavior that I could compare to a clean version of 1.3.9h? I don't know enough to determine which files would be the important ones to checkout.
JohnnyT,
The primary files involved with sending order-status-change emails from the admin are:
/admin/orders.php
/includes/functions/functions_email.php

However, unless you've changed those files, I suspect your problem is more with bad email addresses than with the code.
Does this happen to EVERY customer? Or just selected ones? How many have you tested it with? What were the email addresses? ie: any particular pattern with those email addresses? all free email services like gmail/hotmail/yahoo? Or actual real email accounts on normal domains? Is it related to certain order-status settings specifically? Are these customers' emails on the email-newsletter list? Have they selected TEXT as their email preference, or HTML, or something else?
etc etc etc

Given that the behavior you are reporting is abnormal and not how the system is coded or designed, it's crucial that you provide as much information related to the bigger picture as possible, if you hope to get meaningful help.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Dec 2011, 4:51 PM
#8
johnnyt avatar

johnnyt

New Zenner

Join Date:
May 2010
Location:
Boston, MA
Posts:
13
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

Well... this problem is SOLVED!!!

This was affecting ALL customers... order status updates were not being SENT (as confirmed through a review of the email archive).

I looked at the orders.php file and decided to compare it to the original.

Recently, I hired an "expert" at Zen Cart to make some improvements to my store... and it was clear from the start that he was not nearly as expert as he thought himself to be. I didn't know that he was also incompetent.

As part of the work, he installed a Google Checkout mod into my system. I had disabled it immediately after firing him and thought all was OK.

Well, there were MANY modifications to the ORDERS.PHP file as a result of the Google Checkout mod he installed (I don't know what mod that was).

I restored the previous version of ORDERS.PHP and the problem was resolved completely!

Status updates now work correctly and emails are being sent as they should be! Thanks for the help and guidance into where to look for the problem!

9 Dec 2011, 11:12 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

Always helpful to know the bigger picture.

Glad you got it sorted out by putting back the original code.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Dec 2011, 6:51 PM
#10
harri avatar

harri

New Zenner

Join Date:
Oct 2010
Location:
Finland
Posts:
26
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

Hi!
I have similiar problem with my zen cart order status update emails.
All new orders will receive automatic order confirmation emails, but not when I edit the order status. I haven't done any modifications to those files mentioned above or email settings.

Order status update emails do work:

  • when editing very old orders.
  • when using super orders mod to edit orders.

This broblem seems weird and I have no idea how to fix it. I would appreciate a lot if somebody could help with this. I can still use super orders mod for this, but I would prefer using the original editor and to fix this error.

Zen cart version 1.3.9.h

17 Dec 2011, 4:01 AM
#11
sparktronic avatar

sparktronic

Zen Follower

Join Date:
Nov 2005
Location:
Rochester, New York
Posts:
153
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

I am using version 1.3.9h. For the most part my cart has been working great. I also have had emails stop and after checking the email service, host and everyone else other than zencart, they still do not send. So I tried going to the cart and making a new account as a customer would. When I signed up and then bought an item, I recieved all the emails. So either the older accounts are getting blocked or something else is going on. I am just going to either wipe out my email base and have people put new info in, which seems to be a good idea as most people are changing emails like their underware or just leave it alone. Thought I would show my dealing with the same problem that a lot of people from different hosts and areas are. Thanks for all the fast responses and good work on this project.

17 Dec 2011, 5:20 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

  1. JohnnyT's problem was code busted by an addon.
    So, not a bug, not a ZC core code problem.

  2. Harri's problem is that emails for Order Status Updates to NEW customers don't work.

  3. sparktronic's problem is the exact opposite of Harri's problem.
    Given that these two problems are exact OPPOSITES of each other and completely conflict in the symptoms, it would seem that the problem is actually outside Zen Cart and more likely related to email server problems.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Dec 2011, 9:42 PM
#13
valerie6128 avatar

valerie6128

New Zenner

Join Date:
Aug 2010
Posts:
67
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

Iam also having the same problem, customer just called to check on her order. I explained that I did send her email 2 days after her order was placed to give her an update and she said she never received it. I asked her to check her spam box which she did Nothing there either, we did a test email while on the phone again she received nothing.

Valerie

19 Dec 2011, 10:00 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Email Status Updates Not Being Sent

What about other emails? Is it only your Order Status Update emails that are allegedly not arriving at their intended destination? Do you get YOUR copy of those update emails? Also, what version of Zen Cart are you using? What addons do you have, etc etc ... (see the Posting Tips section when you click Reply below)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Dec 2011, 2:49 AM
#15
valerie6128 avatar

valerie6128

New Zenner

Join Date:
Aug 2010
Posts:
67
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

I sent out a newsletter last week and only a few customers received that? but it is when I go to update a customers status they are not receiving them.

Still using 1.38 I have uploaded 1.39 but not transfered live website over yet.

20 Dec 2011, 2:52 AM
#16
valerie6128 avatar

valerie6128

New Zenner

Join Date:
Aug 2010
Posts:
67
Plugin Contributions:
0

Re: Email Status Updates Not Being Sent

I have never received a copy of my update status to my customers, addons I do not know being someone else set up my website, what would I look for to see what is there.

28 Mar 2012, 12:33 PM
#17
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Email Status Updates Not Being Sent

JohnnyT:

Well... this problem is SOLVED!!!

This was affecting ALL customers... order status updates were not being SENT (as confirmed through a review of the email archive).

I looked at the orders.php file and decided to compare it to the original.

Recently, I hired an "expert" at Zen Cart to make some improvements to my store... and it was clear from the start that he was not nearly as expert as he thought himself to be. I didn't know that he was also incompetent.

As part of the work, he installed a Google Checkout mod into my system. I had disabled it immediately after firing him and thought all was OK.

Well, there were MANY modifications to the ORDERS.PHP file as a result of the Google Checkout mod he installed (I don't know what mod that was).

I restored the previous version of ORDERS.PHP and the problem was resolved completely!

Status updates now work correctly and emails are being sent as they should be! Thanks for the help and guidance into where to look for the problem!

Just wanted to let you know that this may not have been to any incompetence on the part of the coder. I also created this problem for a customer and it's due to the google checkout which by the way I don't recommend people using at all. I got talked into installing for a company and they are already regretting it.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo