- fixed bugs in sorting by from and subject
[squirrelmail.git] / functions / smtp.php
index e6aa554cfb58b9a30eec09d467a3226ea3b0e04b..4c273614e558e85069bcdaf065cf4aee734667b6 100644 (file)
          writeBody ($imap_stream, $body); 
          sqimap_append_done ($imap_stream);
       }   
-
+      sqimap_logout($imap_stream); 
       // Delete the files uploaded for attaching (if any).
       deleteAttachments();
    }