Thomas,
On Tue, 19 Jun 2007 16:40:29 +0200, Thomas Bruederli roundcube@gmail.com wrote:
Something like if ($mbox == $CONFIG['sent_mbox']) $subject = array("HEADER SUBJECT", "HEADER TO"); else ...
I implemented your changes, and they work great! They were as follows, in my "simulated diff" format. I assume my intensions are obvious.
else if (preg_match("/^body:/i", $str)) { list(,$srch) = explode(":", $str); $subject = "TEXT"; $search = trim($srch); } +else if ($mbox == $CONFIG['sent_mbox']) +{
+}
// search in subject and sender by default else { $subject = array("HEADER SUBJECT", "HEADER FROM"); $search = trim($str); }
Thanks Thomas!
..Bruce