Commented out code -- I don't think that this problem exists anymore, so we
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jan 2001 18:17:47 +0000 (18:17 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jan 2001 18:17:47 +0000 (18:17 +0000)
don't need to correct for it.

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

functions/smtp.php

index 4e677109a8f4550fd8b30b5fb3d93815721ac136..8579e9a14f794e06de35c886fd03cbff0ca8b0e8 100644 (file)
       $body = ereg_replace("\n", "\r\n", $body);
       
       // Make sure that $t, $c, and $b do not contain newlines.
-      $t = ereg_replace("[\n|\r]", "", $t);
-      $c = ereg_replace("[\n|\r]", "", $c);
-      $b = ereg_replace("[\n|\r]", "", $b);
+      // 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);
 
       if ($useSendmail) {
          $length = sendSendmail($t, $c, $b, $subject, $body, $more_headers);