Zen Cart Logo
Forums / General Questions / Order emails not arriving for admin

Order emails not arriving for admin

Locked

Views: 2,914

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
9 Nov 2009, 5:20 PM
#1
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Order emails not arriving for admin

I have just recently upgraded my payments to start accepting with authorize.net and am using the AIM module. With PayPal and the Moneyorder option, we receive emails when an order is placed that are generated by the site that has all the order details in it. When a user chooses the AIM module we get an email from authorize.net, but nothing from our store (like the PayPal and moneyorder ones). Is this normal? I hope not as the emails that we get with other payment types have much more information than those from authorize.net.
Any help would be greatly appreciated.

By the way, we are using the latest version of zen cart.

9 Nov 2009, 5:35 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

No, that's not normal.

9 Nov 2009, 5:49 PM
#3
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

Do you know where I should start troubleshooting? I'm at a complete loss.
Thanks

9 Nov 2009, 6:00 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

I have no idea where the problem is, since out-of-the-box, all transactions paid using Authnet AIM automatically send the confirmation email.

So, that means it's likely related to something you've customized or an addon ... which means you'll need to check everything in your store for anomalies: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

Also, you haven't indicated whether there are any differences in the customer's experience upon completing the payment using the different options ... do they ALL see the same success page? or is it blank for certain ones? etc. Without knowing exactly what's unique about it, one can only guess.

17 Nov 2009, 6:12 PM
#5
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

i have ran the winMerge tool, but there are hundereds of files that show up as changed. Most of these have to do with the template and the ez pages, but I do not know what they all are. Is there a certain section that i need to focus on? The only customization that i did was modify the default skin.

Customers have three options to pay: check/moneyorder, PayPal, or CC with Auth.net. Only the ones that choose Auth.net don't send the order email. I get the email from auth.net, but not from the store. From the customer end, nothing is different. Everything goes through fine for them (no blank screen).

My client is getting very frustrated so any help or direction would be greatly appreciated.

17 Nov 2009, 6:25 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

Turn on email archiving and install the email archive viewer addon. If the emails show up in the archive then Zen Cart is sending the email but it's being dumped by one of the many mailservers between yours and the customers'. If they don't show up in the archive (but other emails do), then something's broken in your code.

When these emails are allegedly "not sent", do the customers see the checkout-success page with an order number and a link to their My Account area? Or, what happens after they click "confirm" on the checkout-confirmation screen?
What addons do you have installed?

17 Nov 2009, 9:44 PM
#7
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

Awesome, thanks.
I turned on archiving and it shows that the last order that came through fired 4 emails (one was a sign up) and the last was the order to sales that never seems to make it. Now i know that the email are firing, but it is not reaching me. This would be a mail server issue? How would I troubleshoot this one? I thought I was sending using the correct method because at first I received an error message that emails were not going through. I changed methods and that went away.

The customers are receiving their emails so the server is sending mail correctly. Should i change the destination email address to see if that helps?

The only addon that I remember installing is the pricelist one.

17 Nov 2009, 10:05 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

technicology:

The customers are receiving their emails so the server is sending mail correctly. Should i change the destination email address to see if that helps?
I certainly would.
And maybe get your hosting company to tell you why emails for yourself are getting lost.

For future reference, it would have been helpful if you'd mentioned in the first place that your customers are getting emails, and it's just your admin-copy of the emails that's not showing up as expected.

17 Nov 2009, 10:27 PM
#9
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

thank you, i will give that a try.

sorry about that, i tied to be as detailed as possible, but always seem to overlook some things. Will know next time

18 Nov 2009, 7:00 PM
#10
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

ok, i was mistaken. The customers are not receiving their confirmation of their orders. I thought they were, but now I find out that they are not. Also the emails from the contact form are not going through either. Every email is in the email archive, but not being delivered. Any ideas? Thanks.

18 Nov 2009, 7:32 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

If the email is getting into the archive, then that means it was accepted by your email server. So, if it's not getting delivered, then it's getting dropped by another email server along the way.
Sometimes that happens if a server detects that the email was generated by a server instead of by an authenticated email account. In those cases, changing to "sendmail-f" or "SMTPAUTH" as transport methods can often solve the problem.

18 Nov 2009, 8:17 PM
#12
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

two more strikes.

I tried changing it to "sendmail-f" and it said the email went through, but I never received it in my sales@ account (tried this with the contact email). In the email archive it is there.

I tried changing it to "SMTPAUTH" and did the contact form again and received the error "Email Error: SMTP Error: Could not connect to SMTP host." I tried several different SMTP setting and it never worked out (I'm using Google Apps for email). However each submission showed up in the email archive.

Any other thoughts?

18 Nov 2009, 8:34 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

Sounds like you put the wrong SMTP host settings.
Ref: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems#Google_Gmail

Have you perchance tried using a regular email service, such as that offered by your actual hosting company, instead of remote services such as Google?

18 Nov 2009, 9:01 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Order emails not arriving for admin

These settings work fine for me using Google Apps for sending email with Zen Cart v1.3.8a:

Transport: SMTPAUTH
Linefeed: CRLF
SMTP Mailbox: [email protected]
SMTP Password: password to mailbox
SMTP Server: smtp.gmail.com
SMTP Port: 465

And have my domain set up with MX pointing to google as per google's documentation

18 Nov 2009, 9:35 PM
#15
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

I don't know what I'm doing wrong. I used the same settings as you described (except the u/n and p/w of course) and it still gave the SMTP Error. I double checked my mx records and they are correct (they match what Google says and in my Google Apps console it shows that email is activated) I can also send and receive from the sales@ account.

The only thing that I originally had different was the CRLF. I was just using LF.
:frusty:

29 Nov 2009, 5:44 AM
#16
pisapona avatar

pisapona

New Zenner

Join Date:
Mar 2008
Posts:
19
Plugin Contributions:
0

Re: Order emails not arriving for admin

Zen Cart 1.3.8p3
Patch: 1::
Database Patch Level: 1.3.8

I am hosted at Dreamhost for my files and Google Apps takes care of my email and calenders

To get this to work, and yes it works wonderfully I took these steps

I created a custom DNS record at Dreamhost and set it like this

NAME: mail.mywebsite.com
TYPE: CNAME
VALUE: ghs.google.com

Google Apps explains to do this to log into your email at mail.mywebsite.com because this is easier to explain to my customers instead of https://www.google.com/a/mywebsite.com they usually can remember their own website name instead of typing google and the letter /a/ first

then in zencart I have:

Email Transport: php
Email Address (Displayed to Contact you) [email protected]
Email Address (sent FROM) [email protected]
SMTP Email Account Mailbox: [email protected]
SMTP Email Account Password: ********** my password to this account
SMTP Email Mail Host mail.mywebsite.com
SMTP Email Mail Server Port 587

I have all the other email setting going to a different email addresses than the SMTP Email Account Mailbox

the emails I have set up on Gmail are
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

and groups:
[email protected] which automatically goes to 2 and 4name emails
which I have ZC Send Copy of Order Confirmation Emails to so they dont have to be forwarded each time

[email protected] which automatically goes to 3 and 5name emails

and everything is working fine so far I have done several new registrations and test cart sales and all is fine.
I have not at this time tested any payment mods yet.

If there is a responce to this I will post again to let anyone if I come across a problem

14 Dec 2009, 10:51 PM
#17
technicology avatar

technicology

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Re: Order emails not arriving for admin

thanks for the help, unfortunately those settings did not work. I'm now submitting a ticket to my hosting company to see if they can shed any light on it. Hopefully I won't get the "it's the software messing up" explanation.

Any other ideas, I'm wide open.

thanks