X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fdeliver%2FDeliver_IMAP.class.php;h=b559e5c60ced8b71888eb72ed4f8e247c115f977;hp=db97527b99288b38be1b8d93757dc5cabdf24344;hb=6872a6750379b6c17cf6a6dfec6150ade78f52a0;hpb=883d9cd3466322ced940682fc860288b49569fbe diff --git a/class/deliver/Deliver_IMAP.class.php b/class/deliver/Deliver_IMAP.class.php index db97527b..b559e5c6 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 */ +}