HostMonster Web Hosting Help

phpList Suggested Settings

Problem:

PHPList is not sending all messages.
The most common error is "could not instantiate mail function".

Solution:

Locate the config.php file.  If installed with defaults from MOJO Marketplace the full path will be
/home#/username/public_html/list/config/config.php.

Please make a backup at this point.

Locate the Miscellaneous Section.

Below this section find the following.

Code:
# define the amount of emails you want to send per period. If 0, batch processing
# is disabled
# HostMonster suggest a default of 150 per hour.
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.
Here is the suggested default code.

Code:
# define the amount of emails you want to send per period. If 0, batch processing
# is disabled
# HostMonster suggests a default of 150 per hour.
define("MAILQUEUE_BATCH_SIZE",150);

# define the length of one batch processing period, in seconds (3600 is an hour)
define("MAILQUEUE_BATCH_PERIOD",3600);
The above settings tell phplist to send 150 emails per hour.
The last edit to make is under the Experimental Section.

Code:
# Mailqueue autothrottle. This will try to automatically change the delay
# between messages to make sure that the MAILQUEUE_BATCH_SIZE (above) is spread evently over
# MAILQUEUE_BATCH_PERIOD, instead of firing the Batch in the first few minutes of the period
# and then waiting for the next period. This only works with mailqueue_throttle off
# it still needs tweaking, so send your feedback to mantis.tincan.co.uk if you find
# any issues with it
define('MAILQUEUE_AUTOTHROTTLE',0);
Change the MAILQUE_AUTOTHROTTLE to 1.

Code:
# Mailqueue autothrottle. This will try to automatically change the delay
# between messages to make sure that the MAILQUEUE_BATCH_SIZE (above) is spread evently over
# MAILQUEUE_BATCH_PERIOD, instead of firing the Batch in the first few minutes of the period
# and then waiting for the next period. This only works with mailqueue_throttle off
# it still needs tweaking, so send your feedback to mantis.tincan.co.uk if you find
# any issues with it
define('MAILQUEUE_AUTOTHROTTLE',1);
Knowledgebase Article 39,783 views bookmark tags: phplist (updated 726 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I'm trying to configure an application (phpList) and it requires that I enter (in config.php) a username and password for a POP3 account to handle bounces. I keep getting a POP3 error and it can't log (updated 2109 days ago)
Knowledgebase Article 71,315 views tags: list mail php phplist

SMTP fails when sending through mailing list (e.g. Mailman, Dadamail, phpList), but no error logs are generated. (updated 1402 days ago)
Knowledgebase Article 78,980 views tags: dada list mail mailing mailman mta phplist smtp

The most common cause is that you are either sending to or sending from an invalid email address. You will want to create a new email address, and change your profile to use a different Email address. (updated 2103 days ago)
Knowledgebase Article 76,898 views tags: email fantastico php phpbb sending

Related Help Content

Why do my email messages keep getting returned? (updated 66 days ago)
Knowledgebase Article 170,776 views tags: email messages returned sending

There are many third-party E-mail programs that can be used to connect to your E-mail accounts from remote computers. The most common E-mail programs, called Clients, are Outlook, Mac Mail, and Mozil (updated 303 days ago)
Getting Started Article 212,054 views tags: computer computers email imap messages

This article will explain some common causes for 500 errors on Dedicated or V.P.S servers. (updated 66 days ago)
Knowledgebase Article 1,063 views tags: dedi dedicated error server vps

I get an error sending with Thunderbird, I can receive fine and I tried sending on Port 26 and it still does not work. How do I fix this problem? (updated 2097 days ago)
Knowledgebase Article 66,980 views tags: cannot connect mozilla smtp thunderbird

Emails are not sending out in the correct character sets. Recipients are receiving odd characters instead of the specified set. (updated 1257 days ago)
Knowledgebase Article 53,894 views tags: character email mail php set

Learn how to check your email accounts from within Yahoo! Mail. This tutorial will show you how to setup a POP account in Yahoo! Mail. (updated 621 days ago)
Video "How-to" Tutorial 228,049 views tags: email mail redirect yahoo

How do I find the settings to configure my email account? (updated 1065 days ago)
Knowledgebase Article 84,857 views tags: email settings

How to batch email in Dada Mail. (updated 1628 days ago)
Knowledgebase Article 33,979 views tags: email filter mail