Added "User-Agent" to possible headers with the mailer information.
authorantipode <antipode@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 25 Nov 2001 19:14:18 +0000 (19:14 +0000)
committerantipode <antipode@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 25 Nov 2001 19:14:18 +0000 (19:14 +0000)
There might be more...

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

src/read_body.php

index 1167692..d44373a 100644 (file)
 
     if ($show_xmailer_default) {
         fputs ($imapConnection, sqimap_session_id() .
-               " FETCH $passed_id BODY.PEEK[HEADER.FIELDS (X-Mailer)]\r\n");
+               " FETCH $passed_id BODY.PEEK[HEADER.FIELDS (X-Mailer User-Agent)]\r\n");
         $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, 
                                   $response, $readmessage);
         $mailer = substr($read[1], strpos($read[1], " "));