added capability to detect if imap server supports searching on specific
[squirrelmail.git] / functions / smtp.php
index 56524653dc73274648359d67adc090b31ee287b2..cae5cbc02caddf0570ef6b6512a3f881b15155c6 100644 (file)
       $body = ereg_replace("\r\n", "\n", $body);
       $body = ereg_replace("\n", "\r\n", $body);
       
-      // 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);
       } else {