Display 'Sender' header in message preview
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Display 'Sender' header in message preview |
| | | - Plugin API: Added message_before_send hook |
| | | - Fix contact copy/add-to-group operations on search result (#1488862) |
| | | - Use matching identity in MDN response (#1488864) |
| | |
| | | protected $all_headers = array( |
| | | 'IN-REPLY-TO', |
| | | 'BCC', |
| | | 'SENDER', |
| | | 'MESSAGE-ID', |
| | | 'CONTENT-TRANSFER-ENCODING', |
| | | 'REFERENCES', |
| | |
| | | // message listing |
| | | $labels['subject'] = 'Subject'; |
| | | $labels['from'] = 'From'; |
| | | $labels['sender'] = 'Sender'; |
| | | $labels['to'] = 'To'; |
| | | $labels['cc'] = 'Cc'; |
| | | $labels['bcc'] = 'Bcc'; |
| | |
| | | } |
| | | |
| | | // show these headers |
| | | $standard_headers = array('subject', 'from', 'to', 'cc', 'bcc', 'replyto', |
| | | $standard_headers = array('subject', 'from', 'sender', 'to', 'cc', 'bcc', 'replyto', |
| | | 'mail-reply-to', 'mail-followup-to', 'date', 'priority'); |
| | | $exclude_headers = $attrib['exclude'] ? explode(',', $attrib['exclude']) : array(); |
| | | $output_headers = array(); |
| | |
| | | else |
| | | continue; |
| | | } |
| | | else if ($hkey == 'sender') { |
| | | if ($headers['sender'] != $headers['from']) { |
| | | $header_value = rcmail_address_string($value, $attrib['max'], true, $attrib['addicon'], $headers['charset'], $header_title); |
| | | $ishtml = true; |
| | | } |
| | | else |
| | | continue; |
| | | } |
| | | else if ($hkey == 'mail-followup-to') { |
| | | $header_value = rcmail_address_string($value, $attrib['max'], true, $attrib['addicon'], $headers['charset'], $header_title); |
| | | $ishtml = true; |