Changeset 5aeeeba in github


Ignore:
Timestamp:
Nov 15, 2011 6:22:40 AM (18 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
c1fcd1b
Parents:
305b366b
Message:
  • Fix regression in setting recipient to self when replying to a Sent message (#1487074)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r89dcf540 r5aeeeba  
    22=========================== 
    33 
     4- Fix regression in setting recipient to self when replying to a Sent message (#1487074) 
    45- Fix listing of folders in hidden namespaces (#1486796) 
    56- Don't consider \Noselect flag when building folders tree (#1488004) 
  • program/steps/mail/compose.inc

    r81f5dd7 r5aeeeba  
    359359      $mailreplyto  = $MESSAGE->headers->others['mail-reply-to']; 
    360360 
     361      // Reply to mailing list... 
    361362      if ($MESSAGE->reply_all == 'list' && $mailfollowup) 
    362363        $fvalue = $mailfollowup; 
     
    364365        && preg_match('/<mailto:([^>]+)>/i', $MESSAGE->headers->others['list-post'], $m)) 
    365366        $fvalue = $m[1]; 
     367      // Reply to... 
    366368      else if ($MESSAGE->reply_all && $mailfollowup) 
    367369        $fvalue = $mailfollowup; 
     
    372374      else if (!empty($MESSAGE->headers->from)) 
    373375        $fvalue = $MESSAGE->headers->from; 
     376 
     377      // Reply to message sent by yourself (#1487074) 
     378      if (!empty($ident) && $fvalue == $ident['ident']) { 
     379        $fvalue = $MESSAGE->headers->to; 
     380      } 
    374381    } 
    375382    // add recipient of original message if reply to all 
Note: See TracChangeset for help on using the changeset viewer.