Ignoring Sent from my* line in mail (iPhone/Pre)

This commit is contained in:
Eric Helgeson 2009-10-19 12:52:25 -04:00
parent 4855cb58da
commit acf2b19463
1 changed files with 4 additions and 0 deletions

View File

@ -362,6 +362,10 @@ class MailerDaemon
if (preg_match('/^\s*Sent via/', $line)) {
continue;
}
if (preg_match('/^\s*Sent from my/', $line)) {
continue;
}
// skip everything after a sig
if (preg_match('/^\s*--+\s*$/', $line) ||
preg_match('/^\s*__+\s*$/', $line))