Go Back   HostGator Peer Support Forums > HostGator Announcements > General Announcements

Notices

Reply
 
Thread Tools
  #51  
Old 07-10-2009, 10:15 PM
GatorLBrower's Avatar
GatorLBrower GatorLBrower is offline
HostGator Staff
 
Join Date: Feb 2008
Location: Texas
Posts: 1,373
Default Re: Phplist Throttling :: How To ::

Quote:
Originally Posted by odingalt View Post
Hostgator sucks. Fantastico installs don't work. Period. I've tried about a dozen Fantastico installs and nothing works. Including PHP list.

Have you created a ticket regarding this so that we can look into it further and get it resolved? If so, can you please provide the ticket ID?
__________________
Larry Brower, CCENT
Linux System Administrator II
Hostgator.Com, LLC

Reply With Quote
  #52  
Old 08-29-2009, 08:48 PM
hdgames hdgames is offline
Hatchling Croc
 
Join Date: Aug 2009
Posts: 1
Default Re: Phplist Throttling :: How To ::

thanks this has been an excellent help i needed that
do i need to keep my browser open the entire time until it send out all emails or it is fine to close it?
thanks again
Reply With Quote
  #53  
Old 10-21-2009, 12:19 PM
danilyn22 danilyn22 is offline
Hatchling Croc
 
Join Date: Jan 2009
Posts: 3
Default Re: Phplist Throttling :: How To ::

I am experiencing the same problem. It only sent out the first "throttled" batch. I have made some changes and will set up a CRON Job. I want to finish the emailing that was started but never completed but can not find any information whether you can just requeue and it will continue to send without resending to the users who already received it. Any ideas on this.
Reply With Quote
  #54  
Old 11-03-2009, 01:18 PM
microsof microsof is offline
Baby Croc
 
Join Date: May 2009
Posts: 78
Default Re: Phplist Throttling :: How To ::

Can someone explain please why the timing does not make sence. I changed the batch sending as suggested to 480. I then had a message to say one message had taken 15 hrs to send and yet 3200 emails were sent in an hour, not what i had wanted to happen. How can you set it up that only 200 emails are sent in an hour

cheers

Derek
Reply With Quote
  #55  
Old 11-04-2009, 01:36 PM
microsof microsof is offline
Baby Croc
 
Join Date: May 2009
Posts: 78
Default Re: Phplist Throttling :: How To ::

Quote:
Originally Posted by GatorShashank View Post
Hello Folks,

I hope all of you must be aware of Hostgator's Mail policy. The policy urges all you phplist/mailing lists users to throttle your mailing lists to keep them under the 500 emails/hour limit.

I am presenting specific instructions on how you can tweak PHPList available through fantastico to obey the limit while sending mails preventing legitimate domains like "yahoo.com" from being bouncing back as "unroutable domains"

Here we go :

1. Locate the config file for your phplist installation.

If you have installed the script on your domain with URL like http://www.domain.com/list/ then the physical path will be :

/home/username/public_html/list/config/config.php

In FTP you could see

/public_html/list/config/config.php

2. Download this file to your local PC.

3. Edit the file in a text editor like notepad or wordpad.

4. Locate the section called as "batch processing".

5. Just below you will see some code like :

Code:
# define the amount of emails you want to send per period. If 0, batch processing
# is disabled
define("MAILQUEUE_BATCH_SIZE",0);
 
# define the length of one batch processing period, in seconds (3600 is an hour)
define("MAILQUEUE_BATCH_PERIOD",3600);
These are the default settings. We will be replacing those to keep the mails under 200/hour.

Here is the code I suggest :

Code:
# define the amount of emails you want to send per period. If 0, batch processing
# is disabled
define("MAILQUEUE_BATCH_SIZE",480);
 
# define the length of one batch processing period, in seconds (3600 is an hour)
define("MAILQUEUE_BATCH_PERIOD",3600);
These settings tell phplist to send 480 mails per hour. The remaining 20 emails per domain can be used for normal mailing operations if needed.

6. Save the file and ftp it back to its original location. Remember to take a backup of the original file just in case you mess up.

Now you should be able to send mails without any bounces and not overloading the mailserver.

Any additions to this article are always welcome :-)

I cannot understand why by saying a batch of 480 ensures less than 200 emails are sent in an hour or am i being slightly senior ;-)

Derek
Reply With Quote
  #56  
Old 11-04-2009, 02:35 PM
smithster smithster is offline
Hatchling Croc
 
Join Date: Jul 2007
Posts: 14
Default Re: Phplist Throttling :: How To ::

It seams so many are confused as to how throttling works. I tried phplist and found it to be not very user friendly so I searched around for something else and came across already mentioned pommo. It works great and allows me to send emails to more than 500 users.

The way throttling works, isn't that it sends a whole 200 mails straight away and then waits an hour before sending another 200. If you set it to throttle and to send no more than 200 an hour, it works out how many seconds it should wait between the sending of each email.

Pommo is very easy to use in this case. You can set it to how ever many emails you want to be sent in one single hour. I'm on reseller so my limit is 500 emails per hour. I have my pommo settings set at 480 emails per hour. This means that it will space out the email sendings so that 8 emails are sent every minute. On shared hosting plans with a limit of 200 emails per hour, it's advised as already stated to set your limit at 180 which means 3 emails are sent every minute ensuring that you never go over the limit.

Also with pommo, once you start the mailing process, you can close your browser and the mailing will continue to send emails even if your computer is switched off. There is also no need for using cron with pommo.

Hope this helps.
Reply With Quote
  #57  
Old 11-05-2009, 02:16 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,040
Default Re: Phplist Throttling :: How To ::

Quote:
Originally Posted by microsof View Post
I cannot understand why by saying a batch of 480 ensures less than 200 emails are sent in an hour
A batch of 480 is less than 500. The limit is 500 not 200.
__________________
- David
Reply With Quote
  #58  
Old 11-05-2009, 09:12 AM
pjeutr pjeutr is offline
Hatchling Croc
 
Join Date: Jun 2008
Posts: 3
Default Re: Phplist Throttling :: How To ::

For people struggling with the cronjob
The command that worked for me was:

/usr/local/bin/php -c /home/MYUSERNAME/php.ini -q /home/MYUSERNAME/public_html/MYPATH/lists/admin/index.php USER=MYUSERNAME -p processqueue

important for me where:
/usr/local/bin/php to use the right php version
-c /home/MYUSERNAME/php.ini for some reason phpshell uses a cusomized php.ini (I suppose fantastico did that)

Just try different options at ssh and keep in mind that cron can use different environment vars, that's why I had to use the full path to php
Reply With Quote
  #59  
Old 11-07-2009, 02:13 PM
microsof microsof is offline
Baby Croc
 
Join Date: May 2009
Posts: 78
Default Re: Phplist Throttling :: How To ::

Quote:
Originally Posted by newview View Post
I'm another who had major problems with the recommended config.php settings with the browser timing out and having to hit the processqueue link every hour. I'm definitely NOT going to do that.

I found that the following settings allow the browser to reload and begin the processqueue every 60 seconds. I was able to send 4 messages of about 1100 each in 4 days.

define("MAILQUEUE_BATCH_SIZE",3);
define("MAILQUEUE_BATCH_PERIOD",60);
define('MAILQUEUE_THROTTLE',19);

So . . . that's 3 emails every 60 seconds, waiting 19 seconds between
emails. That computes to about 187 emails per hour, under the 200/hr limit.

Followed this but got the following message

Started
A process for this page is already running and it was still alive 120 seconds ago
Sleeping for 20 seconds, aborting will quit
Sending in batches of 3 emails
Sent in last run: 1
Skipped in last run: 0
<div id="dberror" style="position: relative;
background-color: #aa0000;
border: 2px solid #000000;
color: #ffffff;
">Database error 0 while doing query MySQL server has gone away</div>
Script stage: 1
Finished, Nothing to do
Finished, All done

I cannot get the list to send more than 6 emails beforeit dies :-(
Reply With Quote
  #60  
Old 11-13-2009, 03:50 PM
chicago chicago is offline
Hatchling Croc
 
Join Date: Sep 2008
Posts: 1
Default Re: Phplist Throttling :: How To ::

My cron that works is based off of pjeutr, but also requires an environment variable to be set.

USER=<PHPListAdminUsername>; export USER; /usr/local/bin/php -c /home/<HostGatorUsername>/php.ini -q /home/<HostGatorUsername>/public_html/lists/admin/index.php USER=<PHPListAdminUsername> -p processqueue

This is for a situation where your PHPList Admin username is different from your HostGator account username. There are four places above that need to be changed for your situation.
Reply With Quote
  #61  
Old 11-19-2010, 10:01 PM
kiroshimasylvia kiroshimasylvia is offline
Hatchling Croc
 
Join Date: Nov 2010
Posts: 1
Default reply

I like this particular article It gives me an additional input on the information around the world Thanks a lot and keep going with posting such information. I appreciate the concern which is been rose. The things need to be sorted out because it is about the individual but it can be with everyone. I like this particular article It gives me an additional input on the information around the world Thanks a lot and keep going with posting such information.
=========================http://www.plrprivatelabelrights.com/plr-ebooks
Reply With Quote
  #62  
Old 04-16-2011, 04:31 AM
hailang hailang is offline
Hatchling Croc
 
Join Date: Apr 2011
Posts: 1
Default Re: Phplist Throttling :: How To ::

I just wanted to comment & say keep up the quality work. I’ve bookmarked your froums just now and I’ll be back to read more in the future my friend! Also well-chosen colors on the theme it goes well with the blog in my modest opinion(yhm20110416)
Reply With Quote
  #63  
Old 04-16-2011, 04:41 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,040
Default Re: Phplist Throttling :: How To ::

Quote:
Originally Posted by hailang View Post
I am a spammer. Please delete my posts and ban me from this forum.
Another spammer
__________________
- David
Reply With Quote
  #64  
Old 04-16-2011, 04:56 AM
smithadam smithadam is offline
Hatchling Croc
 
Join Date: Apr 2011
Posts: 1
Default reply

This is very nice article.
------
Call Center Services
Reply With Quote
  #65  
Old 04-16-2011, 05:30 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,040
Default Re: reply

Quote:
Originally Posted by smithadam View Post
I am a spammer. Please delete my posts and ban me from this forum.
Another spammer
__________________
- David
Reply With Quote
  #66  
Old 04-16-2011, 07:47 PM
bho2009 bho2009 is offline
Hatchling Croc
 
Join Date: Feb 2009
Posts: 48
Default Re: Phplist Throttling :: How To ::

What does HG recomend for the cron job settings, I have the paths set, but should the cronjob run every 15 minutes, 30 minutes or 1 hour etc?

Any help is appreciated.
Reply With Quote
  #67  
Old 05-05-2011, 01:23 AM
jjryan jjryan is offline
Hatchling Croc
 
Join Date: May 2011
Posts: 1
Default Re: Phplist Throttling :: How To ::

I found that after the change to phpsuexec I had to change my crontab line to read:

/usr/local/bin/php -q /home/username/public_html/newsletter/admin/index.php -p processqueue > /dev/null;
________________
Chocolate Fountain Rental Simi Valley
Reply With Quote
  #68  
Old 09-28-2011, 08:01 AM
tomhiddan tomhiddan is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 2
Default Re: Phplist Throttling :: How To ::

When I import a list of 2000 + members confirmed that the user instead of marking all as phplis confirmed.I recently installed almost all applications for approval submitted by HG for exceeding the maximum number of messages sent per hour. So I tried the following "starter phplist:: How to" instructions to control the amount of emails sent per hour and stay inside. So I went to "reconcile users" to return phplist
dealer license | indiana auto dealers liscense
Reply With Quote
  #69  
Old 11-08-2011, 10:00 PM
Pata5359 Pata5359 is offline
Hatchling Croc
 
Join Date: Nov 2011
Posts: 5
Default Re: Phplist Throttling :: How To ::

Cool, so the 200 email per hour limit _does_ apply to the mailing lists as well!

I had assumed, up till now, that the limit did not apply to mailing lists as long as you kept them throttled as per HG's specs.

Antonio.

Reply With Quote
  #70  
Old 12-18-2011, 02:00 PM
nayan007 nayan007 is offline
Hatchling Croc
 
Join Date: Nov 2011
Location: India
Posts: 10
Default Re: Phplist Throttling :: How To ::

Hi,
Thanks for the post,this is really useful and I will do the same,if I find any problems will post here
Reply With Quote
  #71  
Old 12-29-2011, 04:16 PM
mchamblee mchamblee is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 1
Default Re: Phplist Throttling :: How To ::

I was wondering about a question asked earlier in this tread. Do we need to leave our browser open while PHPlist is working. It doesn't seem likely. In fact, I am guessing I don't even have to have my laptop on. I THINK everything is done on HG servers so I shouldn't need to leave anything on or open on my side.
Can anyone let me know if I am correct?
Thanks in advance and thanks to all the great help in this forum.

Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHPlist does not install correctly NetKontent Pre-Sales Questions 9 08-28-2007 01:49 PM
phplist installation britbob Shared Hosting Support 20 11-07-2005 08:08 AM
Question about PHPList and 200 email connections/hour cap. msd Shared Hosting Support 2 10-25-2004 05:21 PM
Fast and Helpful Support Appreciated - PHPList BeenToDixie Customer Reviews 0 06-23-2004 09:18 AM

All times are GMT -6. The time now is 06:07 PM.