From 7db136555913d5287548e83251b652cf86fc7fb2 Mon Sep 17 00:00:00 2001 From: antipode Date: Sun, 25 Nov 2001 19:14:18 +0000 Subject: [PATCH] Added "User-Agent" to possible headers with the mailer information. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/read_body.php b/src/read_body.php index 11676926..d44373ae 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -589,7 +589,7 @@ 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], " ")); -- 2.25.1