Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Storeowner copies of New customer & order email not working

Storeowner copies of New customer & order email not working

Started by teegee on 6 Oct 2011, 8:49 AM · Views: 1,359

Results 1 to 11 of 11
6 Oct 2011, 8:49 AM
#1
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Storeowner copies of New customer & order email not working

I've put this in General as i don't know what could be causing it. New Orders were not showing under 'orders' or 'customers' so, as advised, i uninstalled Paypal IPN and installed Paypal Express. This fixed the new Orders showing in the list of orders and new customers now show but the site owner does not get 'new customer' emails or 'new order' emails but i, as his webmaster, do. I don't understand. Can someone please tell me if there is somewhere else I need to check other than;
Configuration>Email options

I have used the suggested format: Name [email protected]Name [email protected]

Bit of background;
It was on v1.3.7 but showed errors where it recreated admin logins and stopped emailing when orders were placed and did not show new orders in the list, even though it emailed customer confirmation. I've upgraded to v1.3.9 but still have problem above.

Any advice would be most gratefully received.
Terri.

6 Oct 2011, 10:20 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Storeowner copies of New customer & order email not working

TeeGee:

I have used the suggested format: Name [email protected]Name [email protected]

Although we have no way of knowing what your actual settings are, the example you just gave is invalid and will cause the problem you describe.

There needs to be either a comma or semi-colon to separate the two addresses. There also needs to be a space between the 1st ">" and the second "Name".

Valid entries will look like:
Name1 [email protected], Name2 [email protected]
or
Name1 [email protected] ; Name2 [email protected]

Either should work (the zencart examples show the comma). Many mail programs use the semi-colon instead.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

6 Oct 2011, 2:20 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Storeowner copies of New customer & order email not working

Zen Cart parses only the comma. Using a semicolon would be problematic. These entries are not merely copied as-is into the email "to" fields. They are parsed into their separate parts, and separate emails sent to each one. So, don't use a semicolon.

.
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.

6 Oct 2011, 2:30 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Storeowner copies of New customer & order email not working

DrByte:

Zen Cart parses only the comma. Using a semicolon would be problematic. These entries are not merely copied as-is into the email "to" fields. They are parsed into their separate parts, and separate emails sent to each one. So, don't use a semicolon.

Thanks for the clarification. I didn't know that. Silly me just assumed the data was passed to the mail server with no further parsing.

Hmm, dumb question time... since this data IS being parsed by zencart, then why not accept/convert the a semi colon if it is used? it seems odd that a valid delimiter is being denied.

I'm guessing this is probably a carry over from OsC?

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

6 Oct 2011, 8:02 PM
#5
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Re: Storeowner copies of New customer & order email not working

Thank you so much for the advice. As I did not know the difference between using a comma and a semi-colon, i tried both and i'm sad to say that neither worked and neither of us are getting emails now? I'm so confused. It must be the way i've written it. I'll copy it below in case someone is able to see what i've done:

Send copy of Create Account Emails to:
Chris [email protected] ; test [email protected] ; Terri [email protected]

What do you think?

kind regards,
Terri.

6 Oct 2011, 8:03 PM
#6
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Re: Storeowner copies of New customer & order email not working

I should also have mentioned that i tried this one too:

Chris [email protected], test [email protected], Terri [email protected]

Thanks,
Terri.

6 Oct 2011, 10:17 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Storeowner copies of New customer & order email not working

Are you saying that ONLY these "extra" emails are not arriving? And that all the regular emails, such as those to the customer, are arriving just fine?
When did this problem of "some emails not arriving" first start?

.
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.

11 Oct 2011, 2:07 PM
#8
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Re: Storeowner copies of New customer & order email not working

It first started when the site was on v1.3.7 but it showed other errors such as, creating strange admin logins by itself. Back then, about 9months ago, it appeared to be emailing the customer but not the store owner. We shut the site down as the store owner did not want to deal with it at the time. Since upgrading to v1.3.9 and re-installing Paypal the only error seems to be the emails to store owner and webmaster are not working. Customers were getting emails as i logged in as a test customer and i got email from the system and paypal after purchasing a test item.

Is there anywhere I can check setup other than the admin/email options? Should i try re-installing Paypal again or go back to IPN?

Thank you,
Terri.

11 Oct 2011, 2:53 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Storeowner copies of New customer & order email not working

Your problem of storeowner-only emails not arriving has nothing to do with PayPal. Best to leave PayPal set with Express Checkout since you've already stated you've got other problems when using IPN.

I suspect that your storeowner emails are broken either because of server confusion with in-domain routing, and as such changing Email Transport from PHP to SMTPAUTH would help alleviate that issue.
Additionally, if you change your list of multiple recipients to be just a single email address, does that fix it? If so, then you have another workaround: create an alias email address/forwarder in your hosting company's email-accounts screen, and do your multiple-recipients control that way, leaving only the ONE alias email address in your ZC settings.

Your symptoms indicate that you've got damaged PHP files in your store which are preventing the code from working as intended. You should be able to fix those by getting rid of the extra files that were added by the intruder who started adding extra admin accounts to your site, and fixing any files that were damaged during the intrusion or subsequent visits: http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks
and http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

.
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.

12 Oct 2011, 8:21 PM
#10
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Re: Storeowner copies of New customer & order email not working

Thank you for your advice.

I tested just using one email address and it didn't work. I received an email as the new customer, but did not get my copy as the webmaster.

I checked email setup and it's showing 'sendmail' as apposed to PHP or SMTPAUTH, I will try to change this as soon as i find out where to change my SMTPAUTH settings in the Admin area.

Kind regards,
Terri.

15 Oct 2011, 1:31 PM
#11
teegee avatar

teegee

New Zenner

Join Date:
Jan 2008
Posts:
27
Plugin Contributions:
0

Re: Storeowner copies of New customer & order email not working

I setup the smtpauth and the emails now work as far as;

I get a copy of 'new customer' and 'new order' as the webmaster and they come via the domain email address and fwd to my personal email address but the same is NOT true for the store owner unfortunately.
I can see his emails sat on the server viewing via 'webmail' but they are not going to his personal inbox. Could this be anything to do with his website or is this likely to be to do with the email server or his personal computer?

Any advice on this would be appreciated as i'm not sure if i should be running more tests on PHP pages or directing this to the mail server provider.

Kind regards,
Terri.