Ignore Reply-To when replying to own message (#1489230)

pull/97/merge
Aleksander Machniak 11 years ago
parent 17239fa522
commit 9263f55a63

@ -322,8 +322,8 @@ foreach ($parts as $header) {
else if (!empty($MESSAGE->headers->from))
$fvalue = $MESSAGE->headers->from;
// Reply to message sent by yourself (#1487074)
if (!empty($ident) && $fvalue == $ident['ident']) {
// Reply to message sent by yourself (#1487074, #1489230)
if (!empty($ident) && in_array($ident['ident'], array($fvalue, $MESSAGE->headers->from))) {
$fvalue = $MESSAGE->headers->to;
}
}

Loading…
Cancel
Save