projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Masato
[squirrelmail.git]
/
functions
/
imap_parse.php
diff --git
a/functions/imap_parse.php
b/functions/imap_parse.php
index 47b3fdc0407208a058167dc349c7f24db128b3d8..29530c1b0e035247b0f1ae4cfc9ea3737e454806 100644
(file)
--- a/
functions/imap_parse.php
+++ b/
functions/imap_parse.php
@@
-221,6
+221,13
@@
function sqimap_parse_RFC822Header ($read, $hdr) {
}
$i++;
break;
+ case 'u':
+ /* User-Agent */
+ if (strtolower(substr($line,0,10)) == 'user-agent') {
+ $hdr->xmailer = trim(substr($line, 10));
+ }
+ $i++;
+ break;
default:
$i++;
break;