alecpl
2010-02-06 9b94eb64153a7dc6555d6b9a30a35296ce592f82
program/steps/mail/func.inc
@@ -24,6 +24,8 @@
// actions that do not require imap connection
$NOIMAP_ACTIONS = array('spell', 'addcontact', 'autocomplete', 'upload', 'display-attachment', 'remove-attachment');
// Init IMAP object
$RCMAIL->imap_init();
// log in to imap server
if (!in_array($RCMAIL->action, $NOIMAP_ACTIONS) && !$RCMAIL->imap_connect()) {