X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=class%2Fdeliver%2FDeliver_IMAP.class.php;h=da61f3630b1962654ae1b1b8dea430743863f224;hb=0e6fd2f821eddd307a1c42df6c9362e2d19020e9;hp=db97527b99288b38be1b8d93757dc5cabdf24344;hpb=883d9cd3466322ced940682fc860288b49569fbe;p=squirrelmail.git diff --git a/class/deliver/Deliver_IMAP.class.php b/class/deliver/Deliver_IMAP.class.php index db97527b..da61f363 100644 --- a/class/deliver/Deliver_IMAP.class.php +++ b/class/deliver/Deliver_IMAP.class.php @@ -1,12 +1,12 @@ 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 */ +}