On 01/15/2013 08:04 PM, Michael Heydekamp wrote:
Roundcube decides to respect "Mail-Reply-To:" and to ignore "Reply-To:".
This chunk of code tells everything. What's wrong here in your opinion?
$mailfollowup = $MESSAGE->headers->others['mail-followup-to']; $mailreplyto = $MESSAGE->headers->others['mail-reply-to'];
// Reply to mailing list... if ($MESSAGE->reply_all == 'list' && $mailfollowup) $fvalue = $mailfollowup; else if ($MESSAGE->reply_all == 'list' && preg_match('/mailto:([^]+)>/i', $MESSAGE->headers->others['list-post'], $m)) $fvalue = $m[1]; // Reply to... else if ($MESSAGE->reply_all && $mailfollowup) $fvalue = $mailfollowup; else if ($mailreplyto) $fvalue = $mailreplyto; else if (!empty($MESSAGE->headers->replyto)) $fvalue = $MESSAGE->headers->replyto; else if (!empty($MESSAGE->headers->from)) $fvalue = $MESSAGE->headers->from;