How do you remove the bcc line shown in sent messages?
I was trying to edit the "
" field but could not find the code anywhere in the roundcube files.
edit: found this in the func file but not sure which one to remove
// show these headers $standard_headers = array('subject', 'from', 'to', 'cc', 'bcc', 'replyto', 'date'); $output_headers = array();
foreach ($standard_headers as $hkey) { if (!$headers[$hkey]) continue;
if ($hkey == 'date') { if ($PRINT_MODE) $header_value = format_date($headers[$hkey], $RCMAIL->config->get('date_long', 'x')); else $header_value = format_date($headers[$hkey]); } else if ($hkey == 'replyto') { if ($headers['replyto'] != $headers['from']) $header_value = rcmail_address_string($headers['replyto'], null, true, $attrib['addicon']); else continue; } else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) $header_value = rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']); else if ($hkey == 'subject' && empty($headers[$hkey])) $header_value = rcube_label('nosubject'); else $header_value = trim($IMAP->decode_header($headers[$hkey])); $output_headers[$hkey] = array('title' => rcube_label($hkey), 'value' => $header_value, 'raw' => $headers[$hkey]); } $plugin = $RCMAIL->plugins->exec_hook('message_headers_output', array('output' => $output_headers, 'headers' => $MESSAGE->headers)); // compose html table $table = new html_table(array('cols' => 2)); foreach ($plugin['output'] as $hkey => $row) { $table->add(array('class' => 'header-title'), Q($row['title'])); $table->add(array('class' => $hkey, 'width' => "90%"), Q($row['value'], ($hkey == 'subject' ? 'strict' : 'show'))); }
does anyone know which file the below code belongs too? its the code which shows up when you view a sent message
|