[solved] Mailer Error: Could not instantiate mail function

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

[solved] Mailer Error: Could not instantiate mail function

Postby thayerw » 5:46pm, Fri 09 May, 2008

I'm posting this solution for anyone who might be searching the forums endlessly for an answer. Moderators, you might want to add this to the FAQ forum category.

The Problem:

Test emails work fine and so do small batches, but full lists (50+ users) report the following error in the eventlog shortly after queueing a batch:

Code: Select all
Mailer Error: Could not instantiate mail function

The Reason:

Bluehost limits email to 50 messages per hour by default. Once this limit has been exceeded, the above error is produced in the PHPlist eventlog after each individual message is sent. You can verify this by looking at your server error logs; it will likely state that the hourly email limit has been reached.

The Solution:

You've got two choices:

    Throttle your email below the acceptable limit (50/hour). Keep in mind that your regular email traffic must be considered as well. If you send 50 list messages per hour, you won't be able to send your normal email for another hour either.

    The other solution is to contact Bluehost and request that the limit be increased--there's no guarantee that they will, but it could be worth a try. Don't bother doing this if you are using PHPList to spam unsolicited messages--it will just get your account terminated.

Although my experience with this issue has been limited to Bluehost, there's no reason why this error wouldn't apply to other hosts. When in doubt, check your server's error logs for more details.

Posts: 9
Joined: 5:26pm, Fri 17 Nov, 2006

Postby J_S » 6:23pm, Wed 14 May, 2008

this is great, thanks
Posts: 674
Joined: 10:18pm, Fri 11 Apr, 2003

throttle by the minute

Postby hightwo » 2:14am, Wed 02 Jul, 2008

you can also set the throttle to throttle by the minute. (change 3600 seconds to 60 seconds)
this way you set it to send, say, 7 messages per minute. setting the page this way, allows the page to autoreload. if the delay is an hour, you are likely to be logged out.
also, bluehost was good about upping the limit for me. i have a 4000-member list. if i was limited to 50 messages per hour, it would take days to send messages.
phpList newbie
Posts: 1
Joined: 12:59am, Wed 02 Jul, 2008

Re: [solved] Mailer Error: Could not instantiate mail function

Postby iasminb » 7:28pm, Mon 12 Apr, 2010

I found that the solution for me was that the FROM email address had to match my domain. So it should be email@example.com if my domain is example.com
phpList newbie
Posts: 1
Joined: 7:09pm, Mon 12 Apr, 2010

Re: [solved] Mailer Error: Could not instantiate mail function

Postby tomsskyline » 9:31pm, Mon 16 Aug, 2010

Thanks thayerw and hightwo ... I use Bluehost, too ... I called them and I discovered my hourly limit was set at 150; and they bumped it for me with no problem. :D
phpList newbie
Posts: 1
Joined: 9:25pm, Mon 16 Aug, 2010

Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests