- fix regex if reply-to header is present in autoresponder, fixes #423
This commit is contained in:
@@ -138,7 +138,7 @@ if($db->num_rows($result) > 0)
|
||||
$to = $match[2];
|
||||
}
|
||||
elseif(!strlen($to)
|
||||
&& preg_match("/To:\s+(.*@.*)$/", $line, $match)
|
||||
&& preg_match("/^To:\s+(.*@.*)$/", $line, $match)
|
||||
) {
|
||||
$to = $match[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user