Browse Source

Removed body formatting when saving as a draft. This is OK with IMAP but
not with SMTP MTAs.

fallas 24 years ago
parent
commit
c962499469
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/draft_actions.php

+ 0 - 4
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);