Changeset 7003206 in github


Ignore:
Timestamp:
Sep 3, 2008 7:41:05 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c8ae249
Parents:
97e9d16
Message:
  • Fix Reply-To header displaying (#1485314)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r5df0ad0 r7003206  
    66- Add RFC2231 header value continuations support for attachment 
    77  filenames + hack for servers that not support that feature 
     8- Fix Reply-To header displaying (#1485314) 
    89 
    9102008/09/02 (thomasb) 
  • program/steps/mail/func.inc

    r876b15d r7003206  
    743743 
    744744  // show these headers 
    745   $standard_headers = array('subject', 'from', 'organization', 'to', 'cc', 'bcc', 'reply-to', 'date'); 
     745  $standard_headers = array('subject', 'from', 'organization', 'to', 'cc', 'bcc', 'replyto', 'date'); 
    746746   
    747747  foreach ($standard_headers as $hkey) 
     
    750750      continue; 
    751751 
    752     if ($hkey=='date' && !empty($headers[$hkey])) 
     752    if ($hkey == 'date') 
    753753      { 
    754754      if ($PRINT_MODE) 
     
    757757        $header_value = format_date($headers[$hkey]); 
    758758      } 
    759     else if (in_array($hkey, array('from', 'to', 'cc', 'bcc', 'reply-to'))) 
     759    else if ($hkey == 'replyto') 
     760      { 
     761      if ($headers['replyto'] != $headers['from']) 
     762        $header_value = Q(rcmail_address_string($headers['replyto'], null, true, $attrib['addicon']), 'show'); 
     763      else 
     764        continue; 
     765      } 
     766    else if (in_array($hkey, array('from', 'to', 'cc', 'bcc'))) 
    760767      $header_value = Q(rcmail_address_string($headers[$hkey], null, true, $attrib['addicon']), 'show'); 
    761768    else 
Note: See TracChangeset for help on using the changeset viewer.