Fix redirection when there's a forward with a From line
This commit is contained in:
parent
281022be8f
commit
ae8fb35f99
@ -52,7 +52,7 @@ while (!feof($fd)) {
|
||||
}
|
||||
|
||||
//also extract the "From" address.
|
||||
if(preg_match("/^from: (.*)/i", $line, $matches)) {
|
||||
if(!$from && preg_match("/^from: (.*)/i", $line, $matches)) {
|
||||
$from = $matches[1];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user