{"id":2579,"date":"2013-04-02T19:32:09","date_gmt":"2013-04-02T23:32:09","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/04\/02\/301-process-bounces-from-gmail-in-phplist\/"},"modified":"2021-08-16T23:15:28","modified_gmt":"2021-08-17T03:15:28","slug":"process-bounces-from-gmail-in-phplist","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/","title":{"rendered":"Process bounces from Gmail in phpList"},"content":{"rendered":"<p>In this article I&#8217;ll go over how you can process your phpList bounces when you are using a Gmail account as your bounce address.<\/p>\n<p>If you&#8217;ve ready my previous article on <a href=\"\/support\/edu\/phplist\/handling-bounces\/\" target=\"_blank\" rel=\"noopener noreferrer\">handling bounces with phpList<\/a>, that covers how you can use phpList to process bounce-back messages for the mailings you&#8217;ve been sending out via phpList.<\/p>\n<p>That works perfectly fine if you&#8217;re simply using an email address such as <strong>listbounces@PrimaryDomain.com<\/strong> 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&#8217;s servers.<\/p>\n<h2>Modify phpList files to connect to Gmail<\/h2>\n<p>In order to correctly connect to Gmail&#8217;s servers the following files need to be modified. I would recommend taking a look at our guide on <a href=\"\/support\/website\/how-to-edit-a-file\/\" target=\"_blank\" rel=\"noopener noreferrer\">how do I edit a file on my server<\/a> if you are unsure how to navigate to these files to modify them.<\/p>\n<p><strong>\/config\/config.php<\/strong><\/p>\n<p class=\"code_block\" style=\"width: 500px;\"> $message_envelope = &#8216;username@gmail.com&#8217;;<br \/> $bounce_protocol = &#8216;pop&#8217;;<\/p>\n<p>      $bounce_mailbox_host = &#8216;pop.gmail.com&#8217;;<br \/> $bounce_mailbox_user = &#8216;username@gmail.com&#8217;;<br \/> $bounce_mailbox_password = &#8216;PassWord&#8217;; <\/p>\n<p>Then you need to make sure that the following line:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\"> $bounce_mailbox_port = &#8220;110\/pop3&#8221;; <\/p>\n<p>Gets updated to:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\">   $bounce_mailbox_port = &#8220;<strong style=\"color: red;\">995\/pop3\/ssl<\/strong>&#8220;; <\/p>\n<p><strong>\/admin\/processbounces.php<\/strong><\/p>\n<p>This bit of code:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\">   function processPop ($server,$user,$password) {<br \/> $port =  $GLOBALS[&#8220;bounce_mailbox_port&#8221;];<br \/> if (!$port) {<br \/> $port = &#8216;110\/pop3\/notls&#8217;;<br \/> } <\/p>\n<p>Needs to be updated to:<\/p>\n<p class=\"code_block\" style=\"width: 500px;\">   function processPop ($server,$user,$password) {<br \/>   $port =  $GLOBALS[&#8220;bounce_mailbox_port&#8221;];<br \/> <strong style=\"color: red;\">#<\/strong>if (!$port) {<br \/> <strong style=\"color: red;\">#<\/strong>$port = &#8216;110\/pop3\/notls&#8217;;<br \/> <strong style=\"color: red;\">$port = &#8216;995\/pop3\/ssl&#8217;;<\/strong><br \/> <strong style=\"color: red;\">#<\/strong>} <\/p>\n<p>You should now understand how you can configure phpList so that it can process bounces for you from a Gmail account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I&#8217;ll go over how you can process your phpList bounces when you are using a Gmail account as your bounce address. If you&#8217;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&#8217;ve been sending out via phpList.<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,102,4288],"tags":[],"class_list":["post-2579","post","type-post","status-publish","format-standard","hentry","category-email","category-phplist","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Process bounces from Gmail in phpList | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article I&#039;ll go over how you can process your phpList bounces when you are using a Gmail account as your bounce address.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Process bounces from Gmail in phpList | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article I&#039;ll go over how you can process your phpList bounces when you are using a Gmail account as your bounce address.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-02T23:32:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:15:28+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Process bounces from Gmail in phpList\",\"datePublished\":\"2013-04-02T23:32:09+00:00\",\"dateModified\":\"2021-08-17T03:15:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\"},\"wordCount\":291,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Email\",\"phpList\",\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\",\"name\":\"Process bounces from Gmail in phpList | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2013-04-02T23:32:09+00:00\",\"dateModified\":\"2021-08-17T03:15:28+00:00\",\"description\":\"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.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Process bounces from Gmail in phpList\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Process bounces from Gmail in phpList | InMotion Hosting","description":"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.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/","og_locale":"en_US","og_type":"article","og_title":"Process bounces from Gmail in phpList | InMotion Hosting","og_description":"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.","og_url":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-04-02T23:32:09+00:00","article_modified_time":"2021-08-17T03:15:28+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Process bounces from Gmail in phpList","datePublished":"2013-04-02T23:32:09+00:00","dateModified":"2021-08-17T03:15:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/"},"wordCount":291,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Email","phpList","Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/","url":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/","name":"Process bounces from Gmail in phpList | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2013-04-02T23:32:09+00:00","dateModified":"2021-08-17T03:15:28+00:00","description":"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.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/process-bounces-from-gmail-in-phplist\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Process bounces from Gmail in phpList"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2579"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2579\/revisions"}],"predecessor-version":[{"id":84699,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2579\/revisions\/84699"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}