/**
** mail_fetch/setup.php
**
- ** Copyright (c) 1999-2003 The SquirrelMail Project Team
+ ** Copyright (c) 1999-2004 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Setup of the mailfetch plugin.
**
** $Id$
+ * @package plugins
+ * @subpackage mail_fetch
**/
-
+
+ /** */
require_once(SM_PATH . 'plugins/mail_fetch/functions.php' );
+ /**
+ * Initialize the plugin
+ */
function squirrelmail_plugin_init_mail_fetch() {
global $squirrelmail_plugin_hooks;
$outMsg .= _("Server does not support UIDL.");
for (; $i <= $Count; $i++) {
- set_time_limit(20); // 20 seconds per message max
+ if (!ini_get('safe_mode'))
+ set_time_limit(20); // 20 seconds per message max
$Message = "";
$MessArray = $pop3->get($i);
global $optpage_blocks;
$optpage_blocks[] = array(
- 'name' => _("Simple POP3 Fetch Mail"),
+ 'name' => _("POP3 Fetch Mail"),
'url' => '../plugins/mail_fetch/options.php',
- 'desc' => _("This configures settings for downloading email from a pop3 mailbox to your account on this server."),
+ 'desc' => _("This configures settings for downloading email from a POP3 mailbox to your account on this server."),
'js' => false
);
}