From 2106ec7043a636f2f706b44a0418e8d3c72c4c04 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 14 Sep 2008 05:03:07 -0400 Subject: [PATCH] - don't show 'To' header if contains only /^undisclosed-recipients[:;]*$/ --- program/steps/mail/func.inc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 6d23b6f..9f59931 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -778,6 +778,8 @@ else continue; } + else if ($hkey == 'to' && preg_match('/^undisclosed-recipients[:;]*$/', $headers['to'])) + continue; else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) $header_value = Q(rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']), 'show'); else -- Gitblit v1.9.1