Ignore:
Timestamp:
Dec 16, 2008 12:01:50 PM (4 years ago)
Author:
thomasb
Message:

allow reply to yourself only in To field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r2158 r2161  
    195195            && (!$MESSAGE->compose_from 
    196196                || !in_array_nocase($addr_part['mailto'], $MESSAGE->compose_from) 
    197                 || count($to_addresses)==1)) // allow reply to yourself 
     197                || (count($to_addresses)==1 && $header=='to'))) // allow reply to yourself 
    198198        { 
    199199          $fvalue .= (strlen($fvalue) ? ', ':'').$addr_part['string']; 
Note: See TracChangeset for help on using the changeset viewer.