Update EmailProcessor.php
authoresantanche <esantanche@gmail.com>
Sat, 14 Nov 2015 17:11:19 +0000 (17:11 +0000)
committeresantanche <esantanche@gmail.com>
Sat, 14 Nov 2015 17:11:19 +0000 (17:11 +0000)
commit619526f64bedbebd1d91550f7e1cd531a034528b
tree8624f9f5068581162981bd0c0cb4a7cf0fed8e63
parent0b1b7a9acbe8e729f5fe311f4bd0cef750a16dfa
Update EmailProcessor.php

Changed the regex used to catch the return path and figure out which mailing the bounce is about.

By doing this both '/Return-Path: ' and '/Return-Path:\s*' are found so that, if the space between 'Return-Path:' and the rest of the line is missing, the bounce is still processed.

I used this fix to solve my bounces problem.
CRM/Utils/Mail/EmailProcessor.php