added user-agent check (from Masato Japanese patches)
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Aug 2002 12:20:48 +0000 (12:20 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Aug 2002 12:20:48 +0000 (12:20 +0000)
(this has nothing to do with Japanese, just an enhancement)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3410 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime.class.php

index a474da7..a288469 100644 (file)
@@ -169,9 +169,13 @@ class rfc822_header
        case ('content-disposition'):
            $this->parseDisposition($value);
            break;    
+       case ('user-agent'):
        case ('x-mailer'):
            $this->xmailer = $value;
            break;
+       case ('user-agent'):
+           $this->xmailer = $value;
+           break;
        case ('x-priority'):
            $this->priority = $value;
            break;