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 11676926b85943d53c6723ff5b74e3c38cf9e4c6..d44373aed57ab2f341a5dc30d7ba103407642c04 100644 (file)
 
     if ($show_xmailer_default) {
         fputs ($imapConnection, sqimap_session_id() .
 
     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], " "));
         $read = sqimap_read_data ($imapConnection, sqimap_session_id(), true, 
                                   $response, $readmessage);
         $mailer = substr($read[1], strpos($read[1], " "));