Changeset a4cf457 in github


Ignore:
Timestamp:
Mar 11, 2010 9:05:13 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
56505a1
Parents:
aaf8255
Message:
  • Fix forwarding message omits CC header (#1486305)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    re55ab02 ra4cf457  
    22=========================== 
    33 
     4- Fix forwarding message omits CC header (#1486305) 
    45- Add 'default_charset' option to user preferences (#1485451) 
    56- Add 'delete_always' option to user preferences 
  • program/steps/mail/compose.inc

    r5821ff5 ra4cf457  
    622622    $prefix .= 'From: ' . $MESSAGE->get_header('from') . "\n"; 
    623623    $prefix .= 'To: ' . $MESSAGE->get_header('to') . "\n"; 
     624 
     625    if ($MESSAGE->headers->cc) 
     626      $prefix .= 'Cc: ' . $MESSAGE->get_header('cc') . "\n"; 
    624627    if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from) 
    625628      $prefix .= 'Reply-To: ' . $MESSAGE->get_header('replyto') . "\n"; 
     629 
    626630    $prefix .= "\n"; 
    627631  } 
     
    644648      htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset()), 
    645649      htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset())); 
     650 
     651    if ($MESSAGE->headers->cc) 
     652      $prefix .= sprintf("<tr><th align=\"right\" nowrap=\"nowrap\" valign=\"baseline\">Cc: </th><td>%s</td></tr>", 
     653        htmlspecialchars(Q($MESSAGE->get_header('cc'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset())); 
    646654 
    647655    if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from) 
Note: See TracChangeset for help on using the changeset viewer.