From 1b618a3dc66161a769647bc4791fd501df91e088 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 31 Jan 2001 18:45:19 +0000 Subject: [PATCH] Reinstating fix for the "to" addresses. Hopefully won't need them for CC and BCC. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1018 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/functions/smtp.php b/functions/smtp.php index 8579e9a1..56524653 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -516,11 +516,8 @@ $body = ereg_replace("\r\n", "\n", $body); $body = ereg_replace("\n", "\r\n", $body); - // Make sure that $t, $c, and $b do not contain newlines. - // I don't think they are needed anymore - //$t = ereg_replace("[\n|\r]", "", $t); - //$c = ereg_replace("[\n|\r]", "", $c); - //$b = ereg_replace("[\n|\r]", "", $b); + // Make sure that $t does not contain newlines. + $t = ereg_replace("[\n|\r]", "", $t); if ($useSendmail) { $length = sendSendmail($t, $c, $b, $subject, $body, $more_headers); -- 2.25.1