X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=class%2Fdeliver%2FDeliver_IMAP.class.php;h=fa7255fcbef39066cc3b7c2b99b5e0f057f75a13;hb=40b2024463f0c73db0487d0dd2337d5234015ed9;hp=83b8252214a452c3095e54890d22e1b4b8aeea91;hpb=2b64659747776ed791389955cc915cfb7f0b89b2;p=squirrelmail.git diff --git a/class/deliver/Deliver_IMAP.class.php b/class/deliver/Deliver_IMAP.class.php index 83b82522..fa7255fc 100644 --- a/class/deliver/Deliver_IMAP.class.php +++ b/class/deliver/Deliver_IMAP.class.php @@ -1,13 +1,13 @@ writeBody($message, 0, $final_length, $boundary); + + + // now if we have a real live stream, send the message + // + if ($stream) { + sqimap_append ($stream, $folder, $final_length); -?> + $this->preWriteToStream($header); + $this->writeToStream($stream, $header); + $this->writeBody($message, $stream, $raw_length, $boundary); + + sqimap_append_done ($stream, $folder); + } + + } + + + /* to do: finishing the imap-class so the initStream function can call the + imap-class */ +}