Browse Source

added user-agent check (from Masato Japanese patches)
(this has nothing to do with Japanese, just an enhancement)

stekkel 23 years ago
parent
commit
fdcfd2b03a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      class/mime.class.php

+ 4 - 0
class/mime.class.php

@@ -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;