InMotion Hosting Support Center

In this article I'll go over how you can process your phpList bounces when you are using a Gmail account as your bounce address.

If you've ready my previous article on handling bounces with phpList, that covers how you can use phpList to process bounce-back messages for the mailings you've been sending out via phpList.

That works perfectly fine if you're simply using an email address such as on your own server. However if you happen to be trying to use Gmail as your bounce processing email address, this requires some additional manual modifications in order for phpList to be able to successfully connect to Gmail's servers.

Modify phpList files to connect to Gmail

In order to correctly connect to Gmail's servers the following files need to be modified. I would recommend taking a look at our guide on how do I edit a file on my server if you are unsure how to navigate to these files to modify them.


$message_envelope = '';
$bounce_protocol = 'pop';

$bounce_mailbox_host = '';
$bounce_mailbox_user = '';
$bounce_mailbox_password = 'PassWord';

Then you need to make sure that the following line:

$bounce_mailbox_port = "110/pop3";

Gets updated to:

$bounce_mailbox_port = "995/pop3/ssl";


This bit of code:

function processPop ($server,$user,$password) {
$port = $GLOBALS["bounce_mailbox_port"];
if (!$port) {
$port = '110/pop3/notls';

Needs to be updated to:

function processPop ($server,$user,$password) {
$port = $GLOBALS["bounce_mailbox_port"];
#if (!$port) {
#$port = '110/pop3/notls';
$port = '995/pop3/ssl';

You should now understand how you can configure phpList so that it can process bounces for you from a Gmail account.

Was this article helpful?
Continued Education in Course phpList
You are viewing Section 2: 301: Process bounces from Gmail in phpList
Section 1: 302: Disable browser resize in phpList

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!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2015-11-17 3:27 pm

You cannot edit processbounces.phpJust Add $bounce_mailbox_port = "995/pop3/ssl/novalidate-cert";

in config.pgo

n/a Points
2016-08-05 5:21 pm

did you mean config.php 

Post a Comment

Email Address:
Phone Number:

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

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!