diff --git a/setup.php b/setup.php index fa499d66..844aafef 100644 --- a/setup.php +++ b/setup.php @@ -52,6 +52,7 @@ $f_pg_connect = function_exists ("pg_connect"); $f_session_start = function_exists ("session_start"); $f_preg_match = function_exists ("preg_match"); $f_mb_encode_mimeheader = function_exists ("mb_encode_mimeheader"); +$f_imap_open = function_exists ("imap_open"); $file_config = file_exists (realpath ("./config.inc.php")); @@ -263,6 +264,27 @@ else $error =+ 1; } + +// +// Imap functions +// +if ( $f_imap_open == 1) +{ + print "
  • Depends on: IMAP functions - OK
  • \n"; +} +else +{ + print "
  • Warning: Depends on: IMAP functions - NOT FOUND
    \n"; + print "To install IMAP support, install php$phpversion-imap
    \n"; + print "Without IMAP support, you won't be able to create subfolders when creating mailboxes.
  • \n"; +# $error =+ 1; +} + + + + + + print ""; if ($error != 0)