From 2106ec7043a636f2f706b44a0418e8d3c72c4c04 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 14 Sep 2008 09:03:07 +0000 Subject: - don't show 'To' header if contains only /^undisclosed-recipients[:;]*$/ --- program/steps/mail/func.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/steps') diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 6d23b6f8e..9f59931ea 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -778,6 +778,8 @@ function rcmail_message_headers($attrib, $headers=NULL) 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 -- cgit v1.2.3