If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / After Sale emails not being sent

After Sale emails not being sent

Started by chickenback on 24 Sep 2012, 7:02 PM · Views: 1,448

Results 1 to 9 of 9
24 Sep 2012, 7:02 PM
#1
chickenback avatar

chickenback

New Zenner

Join Date:
Sep 2012
Posts:
5
Plugin Contributions:
0

Post #1 by chickenback

Please help.

Email seems to work if I use the email tool in 'Tools->Send Email' I just turned on debugging in my Paypal payment module. And it actually sent me the "Your Admin settings have been changed in your online store." email. But it just will not notify anyone if a sale is made including the customer.

The settings in my email config are:

Title Value Action
E-Mail Transport Method smtp
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails false
Send E-Mails true
Email Archiving Active? true
E-Mail Friendly-Errors true
Email Address (Displayed to Contact you) [email protected]
Email Address (sent FROM) [email protected]
Emails must send from known domain? Yes
Email Admin Format? TEXT
Send Copy of Order Confirmation Emails To [email protected], [email protected], [email protected], [email protected]
Send Copy of Create Account Emails To - Status 1
Send Copy of Create Account Emails To [email protected]
Send Copy of Customer GV Send Emails To - Status 1
Send Copy of Customer GV Send Emails To [email protected]
Send Copy of Admin GV Mail Emails To - Status 1
Send Copy of Customer Admin GV Mail Emails To [email protected]
Send Copy of Admin Discount Coupon Mail Emails To - Status 1
Send Copy of Customer Admin Discount Coupon Mail Emails To [email protected]
Send Copy of Admin Orders Status Emails To - Status 1
Send Copy of Admin Orders Status Emails To [email protected]
Send Notice of Pending Reviews Emails To - Status 1
Send Notice of Pending Reviews Emails To [email protected]
Set "Contact Us" Email Dropdown List
Contact Us - Show Store Name and Address 1
Send Low Stock Emails 1
Send Low Stock Emails To [email protected]
Display "Newsletter Unsubscribe" Link? true
Audience-Select Count Display true
SMTP Email Account Mailbox [email protected]
SMTP Email Account Password ****************
SMTP Email Mail Host relay-hosting.secureserver.net
SMTP Email Mail Server Port 25

I've changed some of the email addresses prior to posting.
I had E-Mail Transport Method as PHP but I got exactly the same result.

Anyone know what I'm doing wrong?

24 Sep 2012, 7:28 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

chickenback:

Send Copy of Order Confirmation Emails To [email protected], [email protected], [email protected], [email protected]

  1. Um ... that's not the correct format for specifying multiple email addresses. Go back into that setting, and look at the help text directly above the box where you typed in those email addresses. There's a prescribed format.

  2. Is this really an issue with emails? Or is it an issue with orders not actually completing? Do the orders show in your Admin->Customers->Orders screen? How about in the customers' My Account screen?

  3. You've not mentioned anything about your addons and your server etc. Please click Reply below and answer all the questions in the Posting Tips section in addition to your answers to the above questions.

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

25 Sep 2012, 8:02 AM
#3
chickenback avatar

chickenback

New Zenner

Join Date:
Sep 2012
Posts:
5
Plugin Contributions:
0

Post #3 by chickenback

DrByte:

  1. Um ... that's not the correct format for specifying multiple email addresses. Go back into that setting, and look at the help text directly above the box where you typed in those email addresses. There's a prescribed format.

  2. Is this really an issue with emails? Or is it an issue with orders not actually completing? Do the orders show in your Admin->Customers->Orders screen? How about in the customers' My Account screen?

  3. You've not mentioned anything about your addons and your server etc. Please click Reply below and answer all the questions in the Posting Tips section in addition to your answers to the above questions.

Thanks for pointing out the issue with the way that the emails were formatted. I've changed it now Qwerty <qwerty@g o e t h n i c.co.uk>, Qwerty1 <qwerty1@g o e t h n i c.co.uk>, Qwerty2 <qwerty2@g o e t h n i c.co.uk>, Qwerty3 <qwerty3@g o e t h n i c.co.uk>

I've set Archive Emails up and installed the Archive Emails addon and I can see that it is 'producing' the emails, but not sending them. I've tried clicking on resend message but the emails are still not being resent.

The Addons that I'm using are:

Google Analytics
Sitemap XML
Image Handler 4
E-mail Archive Manager
Google Merchant Centre Feeder
SEO URLs
Robbo Template Set

It is Zen Cart 1.5.0 and was (I'm beginning to realise might have been a mistake) a 1-click Godaddy install. I'll get around to migrating off of that fairly soon I think.

Its a new install, this is my first Zencart implementation that I'm using in anger.

Everything appears to work OK. All the way, even purchasing - I'm using a Paypal module (built in) - just no email to confirm sales to either Admin users or the customer.

I don't mind looking at the code if I knew what to look for then how to debug against this thing.

25 Sep 2012, 11:35 PM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

chickenback:

I've set Archive Emails up and installed the Archive Emails addon and I can see that it is 'producing' the emails, but not sending them.
Please allow me to correct your understanding here. If the message is showing in the archive, then the email WAS sent. It will not be stored in the archives if the email could not be sent, as in: it was successfully handed off to the email servers networks to begin the process of jumping from server to server on its way for delivery. It was accepted, and not refused ... which therefore means it was indeed sent.

If the email is not arriving, then that could be for a number of reasons, usually server-related, which are addressed in these articles:
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

Unfortunately, setting up any software to use GoDaddy's email services can be quite challenging, and unfortunately it's very common for spammers to abuse GoDaddy servers and thus cause those servers to become blacklisted, thus resulting in failed email deliveries/arrivals.

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

28 Sep 2012, 5:15 PM
#5
chickenback avatar

chickenback

New Zenner

Join Date:
Sep 2012
Posts:
5
Plugin Contributions:
0

Post #5 by chickenback

Thanks again for the reply.

I have gone through those links. I have added Postmaster and bounce email addresses to catch any bounces.
The problem is that the "Send email" tool works fine, but any other way fails silently. It will even tell me that the email was sent successfully. But I can't believe it since I'm not receiving anything, getting any bounces and the "Send email" tool just works.

29 Sep 2012, 2:29 PM
#6
chickenback avatar

chickenback

New Zenner

Join Date:
Sep 2012
Posts:
5
Plugin Contributions:
0

Post #6 by chickenback

I have now taken it out of GoDaddy's one click service. I've used the same database and upgraded it from version 1.5.0 to 1.5.1. Using the download from the Zen Cart site, although it is still on GoDaddy. It now sends emails with the 'send email tool', it sends emails with the 'send newsletter' option (this wasn't working before). But it still doesn't send emails using the Archive Email - Msg Resend - option (when it should have sent an email from a customer update). Clearly the function that isn't working for me is doing something that the other email send types aren't. I now need to find out what the difference is in the code.

29 Sep 2012, 7:09 PM
#7
drbyte avatar

drbyte

Sensei

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

Post #7 by drbyte

You said that the "msg resend" feature isn't working. That's somewhat unsurprising given that it's an awkward reconstruction that does that. And whether that particular thing works is somewhat moot. Much more important is whether the storefront sends the required emails when creating a new account and creating a new order. Have you tested that since you made those recent changes?

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

30 Sep 2012, 9:33 PM
#8
chickenback avatar

chickenback

New Zenner

Join Date:
Sep 2012
Posts:
5
Plugin Contributions:
0

Post #8 by chickenback

Hi, I've created a new order and that didn't work. The "msg resend" works depending on what I'm trying to resend. If it is a newsletter, 'send email' then fine. But if it is a sale notification then if doesn't work. Next I intend to take a look at the code so that I can better understand what one version is doing and the other isn't. I'm guessing that one of my addons created this grief for me somewhere along the line. I'd like to know any pointers to where to start looking.

30 Sep 2012, 11:03 PM
#9
drbyte avatar

drbyte

Sensei

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

Post #9 by drbyte

All the email sending activities, both for the store and the admin, share the same code for doing the sending.
So the place to look is at all your addons. ie: everything that's been added or altered since the original code.
And the quickest way to find out all the alterations and additions is to use a text-file-comparison tool like WinMerge. It'll show you all the differences/additions/deletions in about 30 seconds, assuming you have a complete copy of your site's files on your PC along with a complete copy of original code from the original Zen Cart zip file (https://www.zen-cart.com/getit)

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