Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fix lack of Cc and Reply-To headers on messages list, add them to d…

…efault headers list (#1487989)
  • Loading branch information...
commit 8bce65524675bb0ab95819fe8214f4390c2cf9ea 1 parent ecb51cc
Aleksander Machniak alecpl authored
4 program/include/rcube_imap.php
View
@@ -83,16 +83,14 @@ class rcube_imap
/**
* All (additional) headers used (in any way) by Roundcube
- * Not listed here: DATE, FROM, TO, SUBJECT, CONTENT-TYPE, LIST-POST
+ * Not listed here: DATE, FROM, TO, CC, REPLY-TO, SUBJECT, CONTENT-TYPE, LIST-POST
* (used for messages listing) are hardcoded in rcube_imap_generic::fetchHeaders()
*
* @var array
* @see rcube_imap::fetch_add_headers
*/
private $all_headers = array(
- 'REPLY-TO',
'IN-REPLY-TO',
- 'CC',
'BCC',
'MESSAGE-ID',
'CONTENT-TRANSFER-ENCODING',
2  program/include/rcube_imap_generic.php
View
@@ -1537,7 +1537,7 @@ function fetchHeaders($mailbox, $message_set, $uidfetch=false, $bodystr=false, $
if ($bodystr)
$request .= "BODYSTRUCTURE ";
$request .= "BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE ";
- $request .= "LIST-POST DISPOSITION-NOTIFICATION-TO".$add.")])";
+ $request .= "CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO".$add.")])";
if (!$this->putLine($request)) {
$this->setError(self::ERROR_COMMAND, "Unable to send command: $request");
Please sign in to comment.
Something went wrong with that request. Please try again.