_getInfoString example

if ($folder === null) {
            $folder = $this->_currentFolder;
        }

        if (!($folder instanceof Zend_Mail_Storage_Folder)) {
            $folder = $this->getFolders($folder);
        }

        if ($flags === null) {
            $flags = array(Zend_Mail_Storage::FLAG_SEEN);
        }
        $info = $this->_getInfoString($flags);
        $temp_file = $this->_createTmpFile($folder->getGlobalName());

        // TODO: handle class instances for $message         if (is_resource($message) && get_resource_type($message) == 'stream') {
            stream_copy_to_stream($message$temp_file['handle']);
        } else {
            fputs($temp_file['handle']$message);
        }
        fclose($temp_file['handle']);

        // we're adding the size to the filename for maildir++
Home | Imprint | This part of the site doesn't use cookies.