Zen Cart Logo
Forums / General Questions / Email issues with Bluehost -- suddenly none are going through

Email issues with Bluehost -- suddenly none are going through

Views: 2,641

Results 1 to 14 of 14
11 Aug 2016, 6:00 PM
#1
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Email issues with Bluehost -- suddenly none are going through

TIA to all that help...

within the last 4-6 weeks The emails from my cart has been spiratic - then nothing - We are not high traffic so I have just discovered that all emails are not going thru - I have been online with bluehost for over two hours with very little success!

Emails will go to my webmail in the cpanel - which is a total pain to check several time a day....my email can either be ###################### or @att.net. They say @att.net is not in their domain. What that means I do not know..
Transport is PHP - smtp and smtpauth comes with an error.
Linefeeds ar LF
port is 25 or 26.

PS I have the CEon Credit card module and the infor from that does arrive along with the low stock notification.- which is puzzling.. I tried to find out the difference to possibly reset it with no luck.

11 Aug 2016, 11:49 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Email issues with Bluehost -- suddenly none are going through

stitchnkitty:

Transport is PHP - smtp and smtpauth comes with an error.
What exactly is the error? It probably is telling you that you've entered the wrong SMTP credentials in the Admin->Configuration->Email Options settings.

12 Aug 2016, 3:49 PM
#3
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

I receive no error unless it is in a log that I am not familiar with - It just does not arrive in my inbox.... That is why it has taken so long to figure out the extent of the problem - I have a tech ticket out at bluehost for them to investigate. What is interesting is that there was a period of time that some arrived some did not that then nothing....

I can understand why the email with the cc info may have come thru because that operates on a module with possibly different transport specs. but the low stock notice? and not the others?

12 Aug 2016, 5:26 PM
#4
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

Good morning all -
This is a fresh day and DrByte has gotten me to think about the pattern that is going on and the fact that these email are spiractically coming then nothing - Novice thought is ---firewall - I updated zonealarm, and entered my site as trusted. My test did go thru to my att.net email which it had not before - so I am going to give it a few days and see if it will continue or if it is a floock. IF this is it then TY very much DR BYTE for your infinite wisdom. If not I will post again.

13 Aug 2016, 3:50 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Email issues with Bluehost -- suddenly none are going through

While you're using a very old version of Zen Cart, you could try applying this change in order to force the logging of email-related errors into the /logs/ folder:
See: https://github.com/zencart/zencart/pull/801/files

16 Aug 2016, 3:14 PM
#6
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

GM Dr Byte - well the simple change in the firewall allowed a test to come thru but nothing else so I am back to square one. Bluehost is not responding to my request - they say tif they can not replicate it then ...

Did check out your suggestion - Add the following to the file.

  • if ($ErrorInfo != '') {
  •  trigger_error('Email Error: ' . $ErrorInfo);
    
  • }

so that it looked like this:
$zco_notifier->notify('NOTIFY_EMAIL_AFTER_SEND_ALL_SPECIFIED_ADDRESSES');

  • if (EMAIL_FRIENDLY_ERRORS=='false' && $ErrorInfo != '') die('<br /><br />Email Error: ' . $ErrorInfo);
  • if ($ErrorInfo != '') {

  •  trigger_error('Email Error: ' . $ErrorInfo);
    
  • }

    return $ErrorInfo;
    } // end function

It did not like that so well.

16 Aug 2016, 3:35 PM
#7
riomaha avatar

riomaha

New Zenner

Join Date:
Oct 2013
Location:
MTL
Posts:
66
Plugin Contributions:
1

Re: Email issues with Bluehost -- suddenly none are going through

I am sorry if my response is way out of target. I am using bluehost as well as I have different versions of ZenCart setup for staging purposes only. I had an issue with Bluehost that lasted for a month and was only resolved few weeks ago.
The support team was useless and only when I pressed them hard on the issue, they were able to find out that my domains were blocked from sending mail to any external server. It took 24 hours for them to unblock it. The symptoms were, I could send emails to myself (on bluehost hosted domains) but not to my Gmail or Hotmail accounts or any of my clients addresses. Someone apparently had reported my domains as sending spam which was not the case. Have you tried sending mail from webmail to your none bluehost address?

If I am off the mark, please ignore my response.

16 Aug 2016, 4:16 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Email issues with Bluehost -- suddenly none are going through

stitchnkitty:

DrByte:

While you're using a very old version of Zen Cart, you could try applying this change in order to force the logging of email-related errors into the /logs/ folder:
See: https://github.com/zencart/zencart/pull/801/files

Did check out your suggestion - Add the following to the file.

  • if ($ErrorInfo != '') {
  •  trigger_error('Email Error: ' . $ErrorInfo);
    
  • }

so that it looked like this:
$zco_notifier->notify('NOTIFY_EMAIL_AFTER_SEND_ALL_SPECIFIED_ADDRESSES');

  • if (EMAIL_FRIENDLY_ERRORS=='false' && $ErrorInfo != '') die('<br /><br />Email Error: ' . $ErrorInfo);
  • if ($ErrorInfo != '') {

  •  trigger_error('Email Error: ' . $ErrorInfo);
    
  • }

    return $ErrorInfo;
    } // end function

It did not like that so well.
The "-" at the beginning of those lines in red indicates lines to remove.
The "+" at the beginning of the lines in green indicates lines to add. (or in some cases you'll see that the green is replacing what the red was)
The "-" and "+" at the beginning of the line should NOT be put into your own files, as that will cause errors.

17 Aug 2016, 4:11 PM
#9
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

TY Riomaha- Bluehost used to be so responsive - but with a 30 min wait time and chat that is worthless - and conversion on facebook that is time consuming and about worthless. I can use this to ask - about the blocking issue..

Dr byte - OMG as I have said I am a total newbie - I did the additions as suggested but what will this tell us?

17 Aug 2016, 6:52 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Email issues with Bluehost -- suddenly none are going through

stitchnkitty:

I did the additions as suggested but what will this tell us?
In your first post you said that when emails are sent you get an error, but didn't say what it was.
Then I asked what the error message was.
Then you said you didn't know. .... which is baffling to me because you said you got an error.
So then I gave you the above code changes so that the error could be logged to the /logs/ folder with any other PHP errors your site is encountering.
Now you can look in the /logs/ folder and find out what the errors are.
Ref: http://www.zen-cart.com/content.php?124-blank-pages-and-logs-in-logs-folder

23 Aug 2016, 3:53 PM
#11
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

DrByte:

In your first post you said that when emails are sent you get an error, but didn't say what it was.
Then I asked what the error message was.
Then you said you didn't know. .... which is baffling to me because you said you got an error.
So then I gave you the above code changes so that the error could be logged to the /logs/ folder with any other PHP errors your site is encountering.
Now you can look in the /logs/ folder and find out what the errors are.
Ref: http://www.zen-cart.com/content.php?124-blank-pages-and-logs-in-logs-folder

I am sorry - my fingers and my mind seldom go in the same direction - I do not receive an error unless it is somewhere I dont know to look -They just dont qppear in the mail box - I messed with my email settings in Admin and they cam thru for like a day then nothing.

I will check out the log.

23 Aug 2016, 3:58 PM
#12
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

I have checked the Mydebug - and there are not error logs on the days the emails should have arrived.

23 Aug 2016, 6:55 PM
#13
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

stitchnkitty:

Emails will go to my webmail in the cpanel - which is a total pain to check several time a day....

Just a question to help clarify things in the airgap between my ears....
(not that I will be of any help, even knowing those answers)

Do you mean that zencart is sending emails and you are able to receive them via the cpanel webmail interface but that is a pain? (yes, I agree that is a pain)

But your emails that are being transmitted by zencart just are not showing up in your desktop email client software (outlook, thunderbird, etc) which is much more convenient?

24 Aug 2016, 3:38 PM
#14
stitchnkitty avatar

stitchnkitty

Totally Zenned

Join Date:
Jun 2009
Location:
Des Moines, Iowa USA
Posts:
618
Plugin Contributions:
0

Re: Email issues with Bluehost -- suddenly none are going through

RixStix:

Just a question to help clarify things in the airgap between my ears....
(not that I will be of any help, even knowing those answers)

Do you mean that zencart is sending emails and you are able to receive them via the cpanel webmail interface but that is a pain? (yes, I agree that is a pain)

But your emails that are being transmitted by zencart just are not showing up in your desktop email client software (outlook, thunderbird, etc) which is much more convenient?

That is about right EXCEPT - I am using the gmail and the att bucket and not thunderbird or outlook. And the lowstock appears on a regular basis but not the others - I am wondering if this is a Bluehost problem as suggested by Riomaha.