<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
require_once 'ezc/Base/src/ezc_bootstrap.php';
require_once 'ezc/autoload/mail_autoload.php';
+
+/**
+ * Class CRM_Mailing_MailStore_Pop3
+ */
class CRM_Mailing_MailStore_Pop3 extends CRM_Mailing_MailStore {
/**
*
* @return \CRM_Mailing_MailStore_Pop3
*/
- function __construct($host, $username, $password, $ssl = TRUE) {
+ public function __construct($host, $username, $password, $ssl = TRUE) {
if ($this->_debug) {
print "connecting to $host and authenticating as $username\n";
}
*
* @return void
*/
- function markIgnored($nr) {
+ public function markIgnored($nr) {
if ($this->_debug) {
print "fetching message $nr and putting it in the ignored mailbox\n";
}
*
* @return void
*/
- function markProcessed($nr) {
+ public function markProcessed($nr) {
if ($this->_debug) {
print "fetching message $nr and putting it in the processed mailbox\n";
}
$this->_transport->delete($nr);
}
}
-