This article explains the error 500 in phpList when sending mail at a rate higher than the allowed limit on shared hosting (250 emails per hour).
Cause of the error
You are trying to send more emails per hour from phpList than allowed on the service. If you exceed that limit during a mass mailing, an Internal Server Error (500) screen may appear.
Important: Shared hosting plans limit mass mailing to protect the server reputation. For large campaigns, contact the sales department before sending.
Error message (example)
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
More information about this error may be available in the server error log.
Solution — Limit sending in phpList
Edit the config.php file inside the config folder of phpList and adjust the queue parameters to not exceed the server limit.
File location
| Panel | Usual path |
|---|---|
| cPanel (Linux) | public_html/phplist/config/config.php |
| Plesk (Windows/Linux) | httpdocs/phplist/config/config.php |
The exact path depends on where you installed phpList on your service.
Recommended values
To stay under 250 emails per hour, a safe configuration is:
240 messages / 3600 seconds (1 hour) ≈ 1 message every 15 seconds
In config.php, define or modify:
define("MAILQUEUE_BATCH_SIZE", 1);
define("MAILQUEUE_BATCH_PERIOD", 15);
define('MAILQUEUE_THROTTLE', 1);
Save the file and overwrite it on the server so the changes apply on the next send.
How to edit config.php?
- FTP: connect with FileZilla or another FTP client, download the file, edit, and upload it again. Check the FTP guide in the knowledge base.
- Panel file manager: in cPanel or Plesk, navigate to the phpList folder, edit
config/config.phponline and save.
Do you need to send more emails?
If your list requires volumes greater than those allowed on shared hosting, contact the sales department from the client portal to evaluate an authorized mass mailing plan or service.
Do you need help?
If error 500 continues after adjusting phpList, contact technical support from the portal or the site's online chat.
