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 listbounces@PrimaryDomain.com 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.

/config/config.php

$message_envelope = 'username@gmail.com';
$bounce_protocol = 'pop';

$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'username@gmail.com';
$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";

/admin/processbounces.php

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.

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 our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

News / Announcements

West coast connectivity issue 4/22/2014
Updated 2014-04-22 02:20 pm EST
Hits: 130

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

Need more Help?

Search

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: support@InMotionHosting.com
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!