Forums / General Questions / Contact Us not sending Email

Contact Us not sending Email

Views: 3,117

Results 1 to 11 of 11
24 May 2012, 10:36 AM
#1
mamasbows avatar

mamasbows

New Zenner

Join Date:
Apr 2012
Posts:
10
Plugin Contributions:
0

Contact Us not sending Email

After several hours of reading through this forum and working my hosting company we concluded:

  • Emails are being sent from the ADMIN with no problems

  • Password reset email are being sent by the store

  • Contact us not sending email (hosting confirms that they see no email hand off

  • Order confirmation email not being sent.

Any solution or help? All domain names and email account settings checked and double checked. Using zc 1.5

:no:

24 May 2012, 4:16 PM
#2
mamasbows avatar

mamasbows

New Zenner

Join Date:
Apr 2012
Posts:
10
Plugin Contributions:
0

Re: Contact Us not sending Email

Can anyone provide some guidance or suggestions on fixing this?

24 May 2012, 6:54 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Contact Us not sending Email

.
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 May 2012, 3:01 PM
#4
mamasbows avatar

mamasbows

New Zenner

Join Date:
Apr 2012
Posts:
10
Plugin Contributions:
0

Re: Contact Us not sending Email

I have already read and apply what was applicable from forum articles. No success. Admin can send emails, emails from customers sent directly from them to the store are being received BUT no emails from the store to the customer or contact us are be sent. Hosting companies has checked all settings and they are correct but they cannot see any emails leaving the store.

:blush:

25 May 2012, 3:57 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Contact Us not sending Email

Lemme say again what I've already said in the articles/links I shared before:

Zen Cart uses the SAME email delivery logic for both the admin and the storefront operations.
Zen Cart always "sends" the emails. If an email fails to be "sent" (ie: handed off to the mailserver so it can be delivered thru all the email server networks), then an error message will be displayed immediately.

So, if you are not RECEIVING those emails, then something is interfering with the delivery.
Or you've changed the Zen Cart code so that it can't actually hand off the emails.

As explained in the articles I mentioned, often the use of the "PHP" setting for transport protocol will prevent delivery because the mailserver doesn't "trust" the webserver, since unauthenticated emails are exactly how spammers work. Thus using SMTPAUTH and providing credentials to use it, can usually mitigate that issue. That's in the docs I mentioned.

Also in the articles I mentioned, is advice about using the Email History Archive feature to see what Zen Cart is actually sending. The articles explain that the sent emails (except for password resets) will be stored to the email archive table when the feature is enabled, only when ZC hands off an email to the mailserver. There is an Email Archive Manager addon that can let you see what's in the archive. So if an email is in the archive (and the archiving is enabled), then the email was in fact "sent" and any inability to deliver the email is entirely in the hands of all the email servers responsible for delivery, and not Zen Cart.

So I would recommend you consider those investigative steps.

And if for some reason those don't lead you to a solution, then please give detailed results of all the things you've done to sort out this situation, including those I've not specifically re-typed here, but also those discussed in the other articles mentioned.

It's really difficult to help you sort out something that works properly out-of-the-box for thousands of stores, but mysteriously not for your specific situation ... without details about what makes your situation unique vs all the others.

.
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 May 2012, 6:07 PM
#6
mamasbows avatar

mamasbows

New Zenner

Join Date:
Apr 2012
Posts:
10
Plugin Contributions:
0

Re: Contact Us not sending Email

As I noted in the previous replies and the original post- I have spent several hours reading and when applicable applying each suggestion to try to fix this issue. I am not SME on Zen Cart and coding with the exception of adding text to the pages has not be done.

I am using v1.5 ashley pink template- new install. only the USPS and Email History Archive addon were either installed or attempted to install.

Here are the facts:

Within Admin : emails are being sent and received. They are also noted in Email History Archive as sent.

Within the Store: emails are not being handed over from the store to the webserver as Email History Archive does not show them.

All emails sent via Admin appear in the Email History Archive BUT none appear when sent from the store.

Below are my Admin/email settings:

E-Mail Transport Method smtpauth
E-Mail Linefeeds LF
Use MIME HTML When Sending Emails true
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]
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 0
Send Copy of Customer GV Send Emails To [email protected]
Send Copy of Admin GV Mail Emails To - Status 0
Send Copy of Customer Admin GV Mail Emails To [email protected]
Send Copy of Admin Discount Coupon Mail Emails To - Status 0
Send Copy of Customer Admin Discount Coupon Mail Emails To [email protected]
Send Copy of Admin Orders Status Emails To - Status 0
Send Copy of Admin Orders Status Emails To [email protected]
Send Notice of Pending Reviews Emails To - Status 0
Send Notice of Pending Reviews Emails To [email protected]
Set "Contact Us" Email Dropdown List [email protected]
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 just51.justhost.com
SMTP Email Mail Server Port 26
Convert currencies for Text emails

One last thing: I notice that email generated with ADMIN have a subject line but the email to contact us in the store does not. Also- I get no error message from the store when i submit the email as a customer trying to reach out to the store.

Carlos

25 May 2012, 6:21 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Contact Us not sending Email

Mamasbows:

As I noted in the previous replies and the original post- I have spent several hours reading and when applicable applying each suggestion to try to fix this issue.Yes, I saw that you said that. But I can't guess which specific things you read and tried nor what the results were of each of those things. Hence the request for more info.

Mamasbows:

Within Admin : emails are being sent and received. They are also noted in Email History Archive as sent.

Within the Store: emails are not being handed over from the store to the webserver as Email History Archive does not show them.

All emails sent via Admin appear in the Email History Archive BUT none appear when sent from the store.Extremely unusual, since the programming code used for the Admin side is the SAME code as used for the store.
That is, unless you've changed or added or deleted files used in the process, such as anything in /includes/classes/, /includes/auto_loaders, /includes/init_includes, /includes/functions/, /includes/modules/
Mamasbows:

One last thing: I notice that email generated with ADMIN have a subject line but the email to contact us in the store does not.Um ... how can you say that the email to contact-us in the store doesn't have a subject line if you're not even receiving those emails?
Please clarify how you came to this conclusion.

Mamasbows:

Also- I get no error message from the store when i submit the email as a customer trying to reach out to the store.
Try setting "E-Mail Friendly-Errors" to false instead. Then what happens?

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

26 May 2012, 10:54 AM
#8
mamasbows avatar

mamasbows

New Zenner

Join Date:
Apr 2012
Posts:
10
Plugin Contributions:
0

Re: Contact Us not sending Email

DrByte:

Um ... how can you say that the email to contact-us in the store doesn't have a subject line if you're not even receiving those emails?
Please clarify how you came to this conclusion.?

Subject line in the form that customer populates before submitting email.

DrByte:

Try setting "E-Mail Friendly-Errors" to false instead. Then what happens?

Nothing. same issue no email.:no:

26 May 2012, 11:00 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Contact Us not sending Email

Mamasbows:

Subject line in the form that customer populates before submitting email.
As far as I can tell that's not a built-in feature with the official Zen Cart distribution code. Maybe your addons have broken something.
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.

3 Apr 2014, 3:50 PM
#10
aalthouse avatar

aalthouse

New Zenner

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

Re: Contact Us not sending Email

Just a note of thanks to DrByte for his troubleshooting information. My Contact Us form stopped working at some point in time in the recent past, and all of the things that I tried did not work, until I read one of the posts he refers to above (http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems). sure enough, in there was the nugget that I needed!

If your "contact us" emails are not arriving at the desired destinations, try emptying the "contact us pulldown" list. This will force it to use your Store Owner email address and bypass the occasional confusion encountered with properly formatting addresses for the pulldown list.

I don't know why it changed, since it had been working and the e-mail configuration for the pulldown lists was the same as it's always been. I tried reformatting them and even tried adding a new account, to no avail.

Again thank you, and to anybody else having this problem: read through all of the listed posts, don't skip anything. You never know just what's going to work!

Aaron

3 Apr 2014, 4:03 PM
#11
aalthouse avatar

aalthouse

New Zenner

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

Re: Contact Us not sending Email

I determined what was wrong and can reproduce the issue as well as the fix:

The formatting in the Set "Contact Us" Email Dropdown List did not follow the clearly defined instructions in Configuration | E-Mail Options. My supposition above that it stopped working is likely wrong; my best guess now is that it never worked as I only listed the email addresses I wanted in the drop-down, not the aliases and addresses as appears to be required.