* Horde_Exception
* [DEFAULT] - Authenticate to IMAP/POP server; on no auth redirect to
* login screen
- * 'no_compress' - (boolean) Controls whether the page should be
+ * 'nocompress' - (boolean) Controls whether the page should be
* compressed.
* 'session_control' - (string) Sets special session control limitations:
* 'netscape' - TODO; start read/write session
* 'noattach' - (boolean) Don't add attachment information.
* </pre>
*
- * @return array TODO
+ * @return array An array with the following keys:
+ * <pre>
+ * 'msg' - (string) The MIME message.
+ * 'recipients' - (array) The array of recipients.
+ * 'to' - (string) The recipients list in string format.
+ * </pre>
* @throws Horde_Exception
* @throws IMP_Compose_Exception
*/
}
$vfs = VFS::singleton($GLOBALS['conf']['vfs']['type'], Horde::getDriverConfig('vfs', $GLOBALS['conf']['vfs']['type']));
- // TODO: Garbage collection?
$result = $vfs->writeData(self::VFS_DRAFTS_PATH, hash('md5', Horde_Util::getFormData('user')), $body, true);
if ($result instanceof PEAR_Error) {
return;
}
require_once HORDE_BASE . '/lib/Test.php';
-$horde_test = new Horde_Test;
+$horde_test = new Horde_Test();
/* IMP version. */
$module = 'IMP';
-require_once dirname(__FILE__) . '/lib/Application.php';
$app = new IMP_Application();
$module_version = $app->version;