Zen Cart Logo
Forums / General Questions / newsletter - email limit?

newsletter - email limit?

Locked

Views: 21,181

Results 1 to 20 of 63
This thread is locked. New replies are disabled.
10 Oct 2008, 12:28 AM
#1
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

newsletter - email limit?

Hello,
Is there a limit on the amount of emails you can send with the newsletter? I have used other services in the past and they limit the amount of emails that go out every couple of minutes. So my questions are:

  1. Is there a limit on the amount of newsletter emails we can send out?

  2. If we have a huge email list, is it safe to send the newsletter to that entrie list at the same time? Will our server be marked as a spam server or anything if we send out a lot of newsletter emails?

Thanks.

10 Oct 2008, 12:44 AM
#2
kobra avatar

kobra

Black Belt

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

Re: newsletter - email limit?

Zen Cart does not impose any limit BUT your host may...

FYI:
Some mail ISP's have been reported recently to be bouncing any mail that is addressed to more than 5 people in an effort to curb SPAM. Not a move that is conducive to eCommerce and legitimate mail...

9 Nov 2008, 9:16 AM
#3
ozprodrivers avatar

ozprodrivers

New Zenner

Join Date:
Feb 2008
Location:
Brisbane Australia
Posts:
75
Plugin Contributions:
0

Re: newsletter - email limit?

Most ISP's limit the amount of emails a site can send out unless you have a Specific Hosting arrangement. Its to control Spam etc.
100 per hour is about the norm

You need to look at phplist which your ISP will have if you are using a CPanel system. You will find it in fantastico.

Hope this helps

8 Feb 2009, 11:34 PM
#4
npn2531 avatar

npn2531

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

Re: newsletter - email limit?

With most servers, it's not the spam issue they are concerned about, but you overwhelming the server. If you are like a lot us, you are on a shared server at your webhost. This means your $10-20/month website is located on a the same server that hundreds of other websites are located on. If you click 'send' in the newsletter manager your site attempts to send as fast as possible a newsletter to everyone in your database. The server at your web host may let a few hundred emails through, then to protect against a huge spike in usage that affects all the sites on the same machine you are on, shuts down for a instant, or long enough to kill your request, then 'restarts'. All websites on that server then 'blink'.

What you need to do is throttle down the sending of the emails to so many an hour or say 1 email every 8 seconds (480 emails/hour). This requires a special program. I have written a program that does this, and if there was interest in it I will post it as a contribution.

9 Feb 2009, 12:02 PM
#5
lucianman avatar

lucianman

Zen Follower

Join Date:
Sep 2004
Posts:
245
Plugin Contributions:
0

Re: newsletter - email limit?

it would be nice to have that programme

9 Feb 2009, 7:29 PM
#6
kobra avatar

kobra

Black Belt

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

Re: newsletter - email limit?

lucianman,
You should check your hosts terms of service...

Most allow mail for normal business operations and for a busy shop with maybe 5 persons responding to orders this would be about 2-3 minutes per response X 5 or about 150 per hour.

Mass mailing is a business and one can subscribe to services to conduct these mass mailings BUT at costs that are normally more than one pays for hosting

10 Feb 2009, 5:27 AM
#7
npn2531 avatar

npn2531

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

Re: newsletter - email limit?

Lucianman,

I would like to submit the program but your Moderator, Dr Byte, thinks I am abusing the forum. Jeebus!

10 Feb 2009, 11:24 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: newsletter - email limit?

npn2531:

Lucianman,

I would like to submit the program but your Moderator, Dr Byte, thinks I am abusing the forum. Jeebus!

To clarify, you've posted multiple posts asking for people to ask for you to share your addon.

As I said privately, my point was: Why not just come out and share it and invite feedback, instead of making duplicate advert posts all over the forum, contrary to forum etiquette?

But, now that you've had someone come out and bite at your invitation, I hope you'll carry on and share it so you can get the feedback you desire, and also benefit the community in the process.

10 Feb 2009, 11:46 AM
#9
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: newsletter - email limit?

There's also this mod:
numinix.com/index.php?main_page=document_general_info&cPath=168_172_164&products_id=777

15 Feb 2009, 12:02 PM
#10
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: newsletter - email limit?

Is it possible to tell zencart to use a third party like smtp.com?
Even if it means modifying core files?

15 Feb 2009, 12:10 PM
#11
deko avatar

deko

New Zenner

Join Date:
Sep 2004
Posts:
34
Plugin Contributions:
0

Re: newsletter - email limit?

deko:

Is it possible to tell zencart to use a third party like smtp.com?
Even if it means modifying core files?

Scratch that, I've just seen something in configuration that looks like it might do the job.

3 Mar 2009, 4:44 PM
#12
bryanb3 avatar

bryanb3

New Zenner

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

Re: newsletter - email limit?

Will: There's also this mod:
numinix.com/index.php?main_page=document_general_info&cPath=168_172_164&products_id=777

Limit the number of emails per hour?

9 Mar 2009, 9:41 PM
#13
beretta627 avatar

beretta627

New Zenner

Join Date:
Feb 2008
Posts:
2
Plugin Contributions:
0

Re: newsletter - email limit?

I was having a problem with getting timed out from sending large email newsletters (well, 500+).

My solution was to add query_builder records to cut up the email list into smaller pieces.

Examples:

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 0, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 200, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 400, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 600, 200

Hope this helps people.

17 Mar 2009, 6:58 PM
#14
lancemonotone avatar

lancemonotone

New Zenner

Join Date:
Oct 2008
Posts:
11
Plugin Contributions:
0

Re: newsletter - email limit?

beretta627:

I was having a problem with getting timed out from sending large email newsletters (well, 500+).

My solution was to add query_builder records to cut up the email list into smaller pieces.

Examples:

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 0, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 200, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 400, 200

select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id limit 600, 200

Hope this helps people.

This looks promising. How did you use this? I assume you have to come back every hour and send the newsletter to the next list? What did you modify to get the shortened lists into the audience dropdown?

3 Apr 2009, 2:58 PM
#15
karl19 avatar

karl19

New Zenner

Join Date:
Jun 2007
Posts:
62
Plugin Contributions:
0

Re: newsletter - email limit?

I would also be interested in finding a solution to this, would be a great add-on for sites where my customer database is starting to grow, but my host limits me to 500 mails/hour.

4 Apr 2009, 4:04 AM
#16
kobra avatar

kobra

Black Belt

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

Re: newsletter - email limit?

Originally Posted by beretta627
I was having a problem with getting timed out from sending large email newsletters

Originally Posted by karl19
I would also be interested in finding a solution to this, would be a great add-on for sites where my customer database is starting to grow, but my host limits me to 500 mails/hour.
For all concerned: Most shared hosting impose a per hour email limit.
Your email with them is for the purpose of conducting "business" -
Order confirmations, account creation mail, general customer query... If you use up your per hour allotment attempting to send "advertising emails" - then your general mail will not be processed.

Advertising is another animal all together and there are separate services to support this and should be part of your advertising budget.

6 Apr 2009, 7:59 AM
#17
karl19 avatar

karl19

New Zenner

Join Date:
Jun 2007
Posts:
62
Plugin Contributions:
0

Re: newsletter - email limit?

Thanks for the input on this, I agree in principle that advertisement mail-outs would be better suited to be run through a bespoke system, whether it be an open source solution like PhpList, or a hosted setup.

Nonetheless, for a situation where running out a few hundred newsletters a couple of times a year, I don't feel this really justifies the additional work required to setup, or learn a separate setup. A ZenCart administrator might have 600 subscribers, be comfortable with the admin and can get their head around putting together a simple newsletter within this system, but would feel uncomfortable about having to learn a different system, never mind having to export customer lists or something like that. Instead, if they could throttle their list of 600 users into batches of 300/hour, I'd think many users would prefer this.

This is just my personal opinion, based on my own feeling and the requirements and desires I've got from our customers - it might be that others have different opinions of course!

6 Apr 2009, 9:40 AM
#18
kobra avatar

kobra

Black Belt

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

Re: newsletter - email limit?

karl19:

Instead, if they could throttle their list of 600 users into batches of 300/hour, I'd think many users would prefer this.
As long as they realize that this stops all other email communication for the hours this consumes their per hour allotment

7 Apr 2009, 4:35 AM
#19
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: newsletter - email limit?

I've just completed a small modification to the newsletter page for a client.

What the mod does is throttle the email sending rate to 80% of your server limit (which you input manually as a new key on the email configuration page). So if you set a value of 1000 for the server limit, it will send emails at the rate of one every 4.5 seconds, giving an overall rate of 800/hr. That leaves a reasonable percentage of the server allowance for normal store emails to proceed unimpeded.

The script progress is shown on the admin page, and it shouldn't tie up a lot of server CPU resources (on linux servers) because the mod uses the php sleep function as the throttle. I don't think it's suitable for Windows servers though - I believe the php sleep function doesn't work the same on those.

If anyone wants to participate in beta-testing this mod, contact me via PM.

17 Apr 2009, 5:55 PM
#20
karl19 avatar

karl19

New Zenner

Join Date:
Jun 2007
Posts:
62
Plugin Contributions:
0

Re: newsletter - email limit?

That's great bunyip, I've sent you a message, would be interested in checking out your modification.

To follow up on one of the earlier contributions mentioned, I've been in touch with the person who put together a throttle script and asked for feedback (npn2531). I couldn't get it to work in my ZenCart (it was originally for osCommerce), but he very kindly allowed me to post the script here and it would be great if someone could help with bug-fixing it and then the original author would package it up and release it as a contribution.

The error I receive in the admin is:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /....mypath..../epis_bulkmailer.php on line 61which is this line:

while ($newsletters = mysql_fetch_array($newsletters_query)) {Any input on this would be great!

I'm running v 1.3.8.

Thanks,
Karl

Epis Bulkmailer
Attachment #5582
Link to installation instructions