Colums in folder "Sent"

Jan-Kaspar Münnich mailings at jan-muennich.com
Fri Apr 27 12:18:05 CEST 2007


Hello,

I've noticed that the automatic replacement of the "to"-column with  
"from" for the folder "Sent" doesn't work (PHP 5.2.1). So I've  
changed line 512ff. from:

// show 'to' instead of from in sent messages
   if (strtolower($IMAP->get_mailbox_name())=='sent' && ($f =  
array_search('from', $a_show_cols))
       && !array_search('to', $a_show_cols))
     $a_show_cols[$f] = 'to';

to:

// show 'to' instead of from in sent messages
   if (strtolower($IMAP->get_mailbox_name())=='sent' && !array_search 
('to', $a_show_cols)) {
     $f = array_search('from', $a_show_cols);
     $a_show_cols[$f] = 'to';
   }


Regards,
Jan-Kaspar Münnich



More information about the Dev mailing list