{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1312","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1312/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1312/events","html_url":"https://github.com/mautic/mautic/pull/1312","id":124867042,"number":1312,"title":"Added support for Gmail bounces","user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Feature%20Request","name":"Feature Request","color":"207de5"},{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mautic/mautic/milestones/14","html_url":"https://github.com/mautic/mautic/milestones/1.4.0","labels_url":"https://api.github.com/repos/mautic/mautic/milestones/14/labels","id":1639824,"number":14,"title":"1.4.0","description":null,"creator":{"login":"dongilbert","id":718028,"avatar_url":"https://avatars.githubusercontent.com/u/718028?v=3","gravatar_id":"","url":"https://api.github.com/users/dongilbert","html_url":"https://github.com/dongilbert","followers_url":"https://api.github.com/users/dongilbert/followers","following_url":"https://api.github.com/users/dongilbert/following{/other_user}","gists_url":"https://api.github.com/users/dongilbert/gists{/gist_id}","starred_url":"https://api.github.com/users/dongilbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongilbert/subscriptions","organizations_url":"https://api.github.com/users/dongilbert/orgs","repos_url":"https://api.github.com/users/dongilbert/repos","events_url":"https://api.github.com/users/dongilbert/events{/privacy}","received_events_url":"https://api.github.com/users/dongilbert/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":37,"state":"open","created_at":"2016-03-11T21:49:28Z","updated_at":"2016-04-27T15:21:35Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2016-01-05T00:06:53Z","updated_at":"2016-04-27T16:09:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mautic/mautic/pulls/1312","html_url":"https://github.com/mautic/mautic/pull/1312","diff_url":"https://github.com/mautic/mautic/pull/1312.diff","patch_url":"https://github.com/mautic/mautic/pull/1312.patch"},"body":"**Description**\r\n\r\nEmails sent through Gmail are missed by the bounce parsing because Gmail doesn't seem to include a DSN report and are missed by the current regexes.  This PR adds support for Gmail bounce processing by capturing the X-Failed-Recipients header and adds regex for applicable SMTP error messages in https://support.google.com/a/answer/3726730. \r\n\r\n**Testing**\r\n\r\nConfigure Mautic to send mail through a Gmail account. Then configure Mautic to check bounces from a Gmail account (if needed, use a custom folder if the inbox is full of unread messages).\r\n\r\nCreate a fake lead with an obviously non-existent gmail account and send an email to the lead. Run the command to parse bounces.  Before the PR, the lead will not be marked as bounced.  After the PR, they should."},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/215133806","html_url":"https://github.com/mautic/mautic/pull/1312#issuecomment-215133806","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1312","id":215133806,"user":{"login":"dbhurley","id":5251425,"avatar_url":"https://avatars.githubusercontent.com/u/5251425?v=3","gravatar_id":"","url":"https://api.github.com/users/dbhurley","html_url":"https://github.com/dbhurley","followers_url":"https://api.github.com/users/dbhurley/followers","following_url":"https://api.github.com/users/dbhurley/following{/other_user}","gists_url":"https://api.github.com/users/dbhurley/gists{/gist_id}","starred_url":"https://api.github.com/users/dbhurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbhurley/subscriptions","organizations_url":"https://api.github.com/users/dbhurley/orgs","repos_url":"https://api.github.com/users/dbhurley/repos","events_url":"https://api.github.com/users/dbhurley/events{/privacy}","received_events_url":"https://api.github.com/users/dbhurley/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:09:54Z","updated_at":"2016-04-27T16:09:54Z","body":"@dongilbert Would you retest as you were the only failed test and would be great to no if it's a continuing issue or single use."}}