To properly handle bouncebacks (emails that can't be delivered to your users) in PHPlist a quick change to your PHPlist configuration file will need to be made. This is the first part of handling bouncebacks in PHPlist. We will walk through the second part, processing bounces in PHPlist after we send a message to our mailing list.

When you initially installed PHPlist through Fantastico, you created a special email address for handling bounceback emails. This is the email address we will need to add to our configuration file in order to process bouncebacks in PHPlist.

  1. Begin by logging into cPanel

  2. Using the cPanel File Manager, navigate to the config directory inside the directory where you installed PHPlist. In our example, we installed PHPlist to the newsletter subdirectory inside our main domain's document root so we will go to public_html/newsletter/config

    phplist-config-file

  3. To open the config.php and edit the file, either right click the file and select one of the edit options (Edit or Code Editor) or select the file and click one of the edit options at the top of the screen. If you receive an encoding check pop-up window, make sure utf-8 is selected and click the Edit button in that window.

  4. Find the following line in the config.php file:

  5. # $message_envelope = 'listbounces@yourdomain';

  6. Remove the # sign at the beginning of the line and change the email address to your email address you created for receiving bounce back messages. Using our example, our special email address is This email address is being protected from spambots. You need JavaScript enabled to view it. .

  7. $message_envelope = ' This email address is being protected from spambots. You need JavaScript enabled to view it. ';

  8. You can edit the following line if you want to increase or decrease the bounce threshold for your list. The bounce threshold is the number of consecutive bounces that need to occur before a user is marked as unconfirmed. This will not delete the user from the list, it will simply unconfirm them and they will not be sent any future messages unless they are reset to confirmed in their user details in PHPlist.

  9. $bounce_unsubscribe_threshold = 5;

  10. Save and close the file. Note: other tutorials may mention changing the $bounce_mailbox_host, $bounce_mailbox_user, and $bounce_mailbox_password lines but these were filled in for us during the Fantastico installation process. We shouldn't need to make any changes there.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}