Forums / General Questions / Sending Newsletters Abruptly Stops

Sending Newsletters Abruptly Stops

Started by nightdesigns on 27 Oct 2015, 3:48 AM · Views: 995

Results 1 to 9 of 9
27 Oct 2015, 3:48 AM
#1
nightdesigns avatar

nightdesigns

New Zenner

Join Date:
Nov 2008
Posts:
55
Plugin Contributions:
0

Sending Newsletters Abruptly Stops

New Issue, suddenly when sending out my newsletters, it will stop/time out/quit after about 1500. The sending page just stops doing anything (no final text in red about checking for bounces). I've sent way more than 1500 at a time for years without issue. I use send-grid for my mailing and my account max is way above 1500 too.

Is there a place/log I can look at to possibly see an error or something related? I checked the php_errors log and didn't notice anything related to this.

It seems to occur after about 10 minutes of sending emails. I don't believe my hosting provider changed my max execution time (no error shows about it).

Ideas?

27 Oct 2015, 2:57 PM
#2
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Sending Newsletters Abruptly Stops

nightdesigns:

Is there a place/log I can look at to possibly see an error or something related? I checked the php_errors log and didn't notice anything related to this.

it should be in your CATALOG/logs folder

27 Oct 2015, 7:58 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Sending Newsletters Abruptly Stops

I use send-grid for my mailing
I do not see a plugin for them listed
Did they provide you with code to allow this from the ZenCart admin?
Or are you sure that you are sending your newsletters via send-grid

Zen-Venom Get Bitten

28 Oct 2015, 4:21 AM
#4
nightdesigns avatar

nightdesigns

New Zenner

Join Date:
Nov 2008
Posts:
55
Plugin Contributions:
0

Re: Sending Newsletters Abruptly Stops

bislewl:

it should be in your CATALOG/logs folder

I have logs there, but don't see anything related to email....

28 Oct 2015, 4:22 AM
#5
nightdesigns avatar

nightdesigns

New Zenner

Join Date:
Nov 2008
Posts:
55
Plugin Contributions:
0

Re: Sending Newsletters Abruptly Stops

kobra:

I do not see a plugin for them listed
Did they provide you with code to allow this from the ZenCart admin?
Or are you sure that you are sending your newsletters via send-grid

It uses the SMTPauth. Basically is a 3rd party SMTP server and it is just entered at part of the configuration options in ZenCart. I've had good luck with them and a good delivery success rate.

28 Oct 2015, 4:29 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Sending Newsletters Abruptly Stops

Without any logged PHP error it's definitely hard to determine what's causing that.
And of course it's a tough one to test!

Observation: 1500 in 10 minutes works out to 2.5 seconds each ... that's actually really long since PHP is simply passing it off to the mailserver to do delivery. I'd expect it to take 0.3-0.5 seconds each, max.

Are there any errors recorded in your send grid account that might offer any insights? Have they cracked down on max number per hour or anything?

.
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 Oct 2015, 7:01 PM
#7
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Sending Newsletters Abruptly Stops

I had a similar situation and it turned out to be the result of my hosts limitations on the server.

Many hosts limit the number of outgoing emails either in a minute or an hour.

In my case, they wouldn't lift the restriction and I had to export my email lists to use in MailChimp.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

29 Oct 2015, 3:28 AM
#8
nightdesigns avatar

nightdesigns

New Zenner

Join Date:
Nov 2008
Posts:
55
Plugin Contributions:
0

Re: Sending Newsletters Abruptly Stops

DrByte:

Observation: 1500 in 10 minutes works out to 2.5 seconds each ... that's actually really long since PHP is simply passing it off to the mailserver to do delivery. I'd expect it to take 0.3-0.5 seconds each, max.

Are there any errors recorded in your send grid account that might offer any insights? Have they cracked down on max number per hour or anything?

The slower sending is due to the fact that it is reaching out to an external SMTP server, authorizing, and then sends the message, for each message. Not the fastest process. Checked with SendGrid, and they haven't changed any of their limits on my account. They are checking their logs to see if anything pops up, but nothing so far.

29 Oct 2015, 3:29 AM
#9
nightdesigns avatar

nightdesigns

New Zenner

Join Date:
Nov 2008
Posts:
55
Plugin Contributions:
0

Re: Sending Newsletters Abruptly Stops

Carbonless:

Many hosts limit the number of outgoing emails either in a minute or an hour.

SendGrid is a way around this. It uses their SMTP server instead of the local hosting provider server.