Zen Cart Logo

Mail not sending

Views: 4,503

Results 1 to 13 of 13
23 Feb 2015, 3:28 AM
#1
ckfs1 avatar

ckfs1

New Zenner

Join Date:
Dec 2013
Location:
Ohio
Posts:
22
Plugin Contributions:
0

Mail not sending

Version 1.5.3 new install on a system where the 1.3.9h shopping cart is working fine and email is working correctly.

Everything seems to be working correctly except for the email. We tried the contact form no mail came through so we setup the email archive widget and that is showing the no email is getting through either.

What do we do now that we have definitely confirmed that no mail is coming through. Are their parts of the program that may be corrupted and if we installed would help this problem. Where might they be.

C

23 Feb 2015, 4:06 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Mail not sending

ckfs1:

Version 1.5.3 new install on a system where the 1.3.9h shopping cart is working fine and email is working correctly.

Everything seems to be working correctly except for the email. We tried the contact form no mail came through so we setup the email archive widget and that is showing the no email is getting through either.

What do we do now that we have definitely confirmed that no mail is coming through. Are their parts of the program that may be corrupted and if we installed would help this problem. Where might they be.

C

You have 1.53 running, the email archive shows zen is actually trying to send the mail within the logs yes?.

Email settings have changed or the account you are using is not setup to allow the emails to pass.

23 Feb 2015, 5:22 AM
#3
ckfs1 avatar

ckfs1

New Zenner

Join Date:
Dec 2013
Location:
Ohio
Posts:
22
Plugin Contributions:
0

Re: Mail not sending

No the archiver does not show anything. There is no mail mentioned in there. I do not understand why not but that is what is happening.

C

23 Feb 2015, 5:23 AM
#4
ckfs1 avatar

ckfs1

New Zenner

Join Date:
Dec 2013
Location:
Ohio
Posts:
22
Plugin Contributions:
0

Re: Mail not sending

How do I get it configured to send mail. It is setup the same as the other shopping cart in 1.3.9h that is working.

C

23 Feb 2015, 7:37 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Mail not sending

Admin->Configuration->Email Options ---- that's where you configure the email settings.

Since you claim your settings aren't working, please post those settings here. Mask the password, but post everything else unchanged.
And what's your PHP version?
What other plugins do you have on your site?

And reference:
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

23 Feb 2015, 8:14 AM
#6
ckfs1 avatar

ckfs1

New Zenner

Join Date:
Dec 2013
Location:
Ohio
Posts:
22
Plugin Contributions:
0

Re: Mail not sending

php 5.3.27
Other plugins - CEO URI, Responsive Template Apparel Boutique

E-Mail Options
Title Value Action
E-Mail Transport Method php
E-Mail Linefeeds LF Info
Enable HTML Emails? false Info
Send E-Mails true Info
Email Archiving Active? false Info
E-Mail Friendly-Errors true Info
Email Address (Displayed to Contact you) [email protected] Info
Email Address (sent FROM) [email protected] Info
Emails must send from known domain? Yes Info
Email Admin Format? TEXT Info
Send Copy of Order Confirmation Emails To [email protected] Info
Send Copy of Create Account Emails To - Status 1 Info
Send Copy of Create Account Emails To [email protected] Info
Send Copy of Customer GV Send Emails To - Status 1 Info
Send Copy of Customer GV Send Emails To [email protected] Info
Send Copy of Admin GV Mail Emails To - Status 0 Info
Send Copy of Customer Admin GV Mail Emails To [email protected] Info
Send Copy of Admin Discount Coupon Mail Emails To - Status 0 Info
Send Copy of Customer Admin Discount Coupon Mail Emails To [email protected] Info
Send Copy of Admin Orders Status Emails To - Status 0 Info
Send Copy of Admin Orders Status Emails To [email protected] Info
Send Notice of Pending Reviews Emails To - Status 0 Info
Send Notice of Pending Reviews Emails To [email protected] Info
Set "Contact Us" Email Dropdown List Personalize Your Items [email protected] Info
Contact Us - Show Store Name and Address 1 Info
Send Low Stock Emails 0 Info
Send Low Stock Emails To [email protected] Info
Display "Newsletter Unsubscribe" Link? false Info
Audience-Select Count Display true Info
SMTP Email Account Mailbox YourEmailAccountNameHere Info
SMTP Email Account Password **************** Info
SMTP Email Mail Host mail.EnterYourDomain.com Info
SMTP Email Mail Server Port 25 Info
Convert currencies for Text emails £,£:€,€:®,®:™,™

23 Feb 2015, 7:02 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Mail not sending

ckfs1:

E-Mail Transport Method php

SMTP Email Account Mailbox YourEmailAccountNameHere Info
SMTP Email Account Password **************** Info
SMTP Email Mail Host mail.EnterYourDomain.com Info
SMTP Email Mail Server Port 25 Info
Change the transport method to SMTPAUTH, and then fill in the SMTP mailbox, password, host, port

21 Jul 2015, 7:31 PM
#8
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Mail not sending

DrByte:

Change the transport method to SMTPAUTH, and then fill in the SMTP mailbox, password, host, port

Having lost all my admin out email now, I came across this answer, but what was working for as long as I have had my site running, its no longer working since the last but one customer order.

I only ever had it SMTP with port 25. My host assures me this is correct for smtp.

SMTP Email Account Mailbox [email protected]
SMTP Email Account Password ****
SMTP Email Mail Host mail.dinnages.org.uk
SMTP Email Mail Server Port 25

The only recent error I have also found is this (ADMIN replaced my details);
[12-Jul-2015 19:58:27 Europe/London] PHP Warning: Creating default object from empty value in /home/ADMIN/public_html/shop/ADMIN/products_price_manager.php on line 464
[12-Jul-2015 19:58:27 Europe/London] PHP Warning: Creating default object from empty value in /home/ADMIN/public_html/shop/ADMIN/products_price_manager.php on line 470

Rather baffled.
Gordon

23 Jul 2015, 2:21 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Mail not sending

Dinnages:

what was working for as long as I have had my site running, its no longer working

Most likely cause: your host changed something. And, since you implied that you've talked to your host, then it's quite unfortunate that even they don't know what they changed.
The Zen Cart software, unless someone goes and alters it, isn't going to suddenly start doing something it didn't do previously. Nor is it going to suddenly stop what it was doing correctly. So, either someone changed the software on your site, or your host has changed PHP and/or email services. And yes, upgrading versions does equal "change".

Dinnages:

[12-Jul-2015 19:58:27 Europe/London] PHP Warning: Creating default object from empty value in /home/ADMIN/public_html/shop/ADMIN/products_price_manager.php on line 464
[12-Jul-2015 19:58:27 Europe/London] PHP Warning: Creating default object from empty value in /home/ADMIN/public_html/shop/ADMIN/products_price_manager.php on line 470
Those are a result of using a newer version of PHP with an older version of Zen Cart (and/or plugins designed for older versions of Zen Cart). Those errors themselves have nothing to do with email.
But, if you're still using an old version of Zen Cart that wasn't intentionally designed for the PHP version you're now using, there are lots of side-effects caused by the incompatibilities between mismatched PHP versions with your Zen Cart version.

23 Jul 2015, 2:51 AM
#10
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Mail not sending

Based upon your hosting provider's recommendation (specify server, port, username, and password), SMTPAUTH should be used. Do not forget to fill in all of the relevant SMTP settings.

Would also recommend "send from known domain = true".

One could also temporarily enable email logging to verify emails are sent by Zen Cart. Keep in mind the email server (not Zen Cart) is ultimately responsible for dispatching and delivering emails. Very similiar to sending a postal letter (Zen Cart = You; Email Server = Post Office).

PHP = Rely on hosting provider's configuration of php.ini to tell PHP how to send email. Does not use Zen Cart configured username, password, server, or port. Does not usually provide any feedback regarding if the email was received by the email server.

Kinda like placing a letter in the office "outbox" and trusting it will get to the Post Office (eventually and by someone else's hand).

SMTP = Use SMTP with no username or password sent to authenticate. Does use Zen Cart configured server and port. Does not use Zen Cart configured username or password. Will report if unable to contact email server and if email server reports an error while receiving the email request.

Kinda like placing a letter in a Post Office box (with no verification of your identity or return address) and trusting the Post Office to deliver the letter (even when / if you are pretending to be someone else on the envelope).

SMTPAUTH = Use SMTP with Zen Cart configured server and port. Send Zen Cart configured username and password to authenticate. Will report if unable to contact email server and if email server reports an error while receiving the email request.

Kinda like going into the Post Office, having them verify your identity and return address, and then trusting the Post Office to deliver the letter.

As for those error logs, I would "guess" you are running an older version of Zen Cart (and / or modifications / pluguns) on a newer version of PHP than supported for the older version of Zen Cart. One can determine the version of PHP and Zen Cart by checking the "version" link in the Zen Cart administrative interface. These can be checked against the Zen Cart requirements documetation.

23 Jul 2015, 6:51 AM
#11
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Mail not sending

Thanks for the in depth information, yes I agree suddenly code doesn't change by itself so I wonder when something does stop its someone got in & mucked it up.
By changing the host server name from what it always has been seems to have ensured mail is back on again, just as my host states tho, smtp & port 25, they didn't mention any other number of smtpauth.

In the new email (joined as a new customer) to provoke one, the only information worth showing is these two lines.

X-Mailer: PHPMailer [version 1.73] via Zen Cart
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.

Various line errors seen in logs refer to blank entries on lines of various php files, yet when downloading those and winmerge against the originals they are identical.
Still I really do have to make the jump to the latest version, but its quite a daunting task to get it right.
Done it now a few times but a fresh install & duplicating my database means I will have to customise the new version before I can make that live.
Still its well worth the effort, similar stores to mine they are paying £24.95 a month for a third party hosted online store!
For the amount I make on mine that would never pay me to run a monthly costed cart.

23 Jul 2015, 7:10 PM
#12
dinnages avatar

dinnages

Zen Follower

Join Date:
May 2007
Location:
Brighton/Hove/Sussex
Posts:
146
Plugin Contributions:
0

Re: Mail not sending

lhungil:

Based upon your hosting provider's recommendation (specify server, port, username, and password), SMTPAUTH should be used. Do not forget to fill in all of the relevant SMTP settings.

Would also recommend "send from known domain = true".

One could also temporarily enable email logging to verify emails are sent by Zen Cart. Keep in mind the email server (not Zen Cart) is ultimately responsible for dispatching and delivering emails. Very similiar to sending a postal letter (Zen Cart = You; Email Server = Post Office).

SMTPAUTH = Use SMTP with Zen Cart configured server and port. Send Zen Cart configured username and password to authenticate. Will report if unable to contact email server and if email server reports an error while receiving the email request.

As an addition to my earlier reply, yes to "send from known domain = true".
I shall have a look where that logging isbut have been checking the domain cpanel logs.
I have all those lines completed so maybe all I ought to do is use the radio button for smtpauth instead of smtp if the same details are used. My host did not refer to anything different than port 25 for example.

Emails are carrying again today from new orders so the email issue is sorted.
maybe on the latest version I will not get so many timewasting spam emailers who seem to be able to use the contact us form for gibberish or annoyingly promotion of google ranking or CEO. An efficient capitcha would be good.
I look forward to a printed book of the manual, something I can sit on my lap rather than working two PC/screens side by side dealing with an upgrade.

Thanks again.

24 Jul 2015, 8:19 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Mail not sending

Dinnages:

0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
That's the problem. Your server has been blocked by the that particular spam-detector service your emails are being filtered through. Your hosting company will need to sort it out.