From 2133d2b3f171e68af1114abfe4f3e1bab28d4461 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 25 Jan 2011 10:49:37 -0700 Subject: [PATCH] Bug #9532: Don't MIME encode maildrop autoresponse file --- ingo/docs/CHANGES | 1 + ingo/lib/Script/Maildrop/Recipe.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingo/docs/CHANGES b/ingo/docs/CHANGES index c30bfd754..715c8fe5b 100644 --- a/ingo/docs/CHANGES +++ b/ingo/docs/CHANGES @@ -12,6 +12,7 @@ v2.0-git v1.2.6-cvs ---------- +[mms] Fix encoding of vacation message in maildrop driver (Bug #9532). [jan] Add upgrade scripts for next-generation SQL share driver. diff --git a/ingo/lib/Script/Maildrop/Recipe.php b/ingo/lib/Script/Maildrop/Recipe.php index c4859e923..69f8a5e18 100644 --- a/ingo/lib/Script/Maildrop/Recipe.php +++ b/ingo/lib/Script/Maildrop/Recipe.php @@ -128,10 +128,9 @@ class Ingo_Script_Maildrop_Recipe } // Writing vacation.msg file - $reason = Horde_Mime::encode($params['action-value']['reason'], $scriptparams['charset']); $transport = Ingo::getTransport(); $transport->_connect(); - $result = $transport->_vfs->writeData($transport->_params['vfs_path'], 'vacation.msg', $reason, true); + $result = $transport->_vfs->writeData($transport->_params['vfs_path'], 'vacation.msg', $params['action-value']['reason'], true); // Rule : Do not send responses to bulk or list messages if ($params['action-value']['ignorelist'] == 1) { -- 2.11.0