minor bugfix, first line of message used to remove preceeding spaces.
[squirrelmail.git] / functions / smtp.php
index dda8f8481b13a4cfe0208d7f56f41aaaa6aea22c..049b8da20a0bcb3d3d5f6c169fb3e68c836d29a0 100644 (file)
       $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 1);
       if (sqimap_mailbox_exists ($imap_stream, $sent_folder)) {
          sqimap_append ($imap_stream, $sent_folder, $length);
-         echo "sqimap_append ($imap_stream, $sent_folder, $length)";
          write822Header ($imap_stream, $t, $c, $b, $subject);
          writeBody ($imap_stream, $body); 
          sqimap_append_done ($imap_stream);
 
       // Delete the files uploaded for attaching (if any).
       deleteAttachments();
-               exit;
    }
 ?>