<?php
+
/**
* mail_fetch/functions.php
*
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* Functions for the mail_fetch plugin.
*
* Original code from LexZEUS <lexzeus@mifinca.com>
* and josh@superfork.com (extracted from php manual)
* Adapted for MailFetch by Philippe Mingo <mingo@rotedic.com>
*
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @subpackage mail_fetch
$pop3 = new POP3($mailfetch_server, 60);
if (!$pop3->connect($mailfetch_server,$mailfetch_port)) {
- $outMsg .= _("Warning, ") . $pop3->ERROR;
+ $outMsg .= _("Warning:") . ' ' . $pop3->ERROR;
continue;
}
$Count = $pop3->login($mailfetch_user, $mailfetch_pass);
if (($Count == false || $Count == -1) && $pop3->ERROR != '') {
- $outMsg .= _("Login Failed:") . $pop3->ERROR;
+ $outMsg .= _("Login Failed:") . ' ' . $pop3->ERROR;
continue;
}
$MessArray = $pop3->get($i);
if ( (!$MessArray) or (gettype($MessArray) != "array")) {
- $outMsg .= _("Warning, ") . $pop3->ERROR;
+ $outMsg .= _("Warning:") . ' ' . $pop3->ERROR;
continue 2;
}