From: fallas Date: Tue, 30 Oct 2001 16:45:52 +0000 (+0000) Subject: Removed body formatting when saving as a draft. This is OK with IMAP but X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=8dd8019fd8d7abc91830ac0225d80dccc27c3604 Removed body formatting when saving as a draft. This is OK with IMAP but not with SMTP MTAs. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1660 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/draft_actions.php b/src/draft_actions.php index a8d145e7..80a49f8c 100644 --- a/src/draft_actions.php +++ b/src/draft_actions.php @@ -135,10 +135,6 @@ require_once ('../src/validate.php'); $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 1); - $body = ereg_replace("\n\\.", "\n..", $body); - $body = ereg_replace("^\\.", "..", $body); - $body = ereg_replace("\n", "\r\n", $body); - $fp = fopen("/dev/null", a); $headerlength = write822HeaderForDraft ($fp, $t, $c, $b, $subject, $more_headers); $bodylength = writeBody ($fp, $body);