<?php
/**
 * Copyright 2010-2017 Horde LLC (http://www.horde.org/)
 *
 * See the enclosed file COPYING for license information (GPL). If you
 * did not receive this file, see http://www.horde.org/licenses/gpl.
 *
 * @category  Horde
 * @copyright 2010-2017 Horde LLC
 * @license   http://www.horde.org/licenses/gpl GPL
 * @package   IMP
 */

/**
 * A null implementation of the sentmail driver.
 *
 * @author    Michael Slusarz <slusarz@horde.org>
 * @category  Horde
 * @copyright 2010-2017 Horde LLC
 * @license   http://www.horde.org/licenses/gpl GPL
 * @package   IMP
 */
class IMP_Sentmail_Null extends IMP_Sentmail
{
    /**
     */
    protected function _log($action, $message_id, $recipient, $success)
    {
    }

    /**
     */
    public function favouriteRecipients($limit, $filter = null)
    {
        return array();
    }

    /**
     */
    public function numberOfRecipients($hours, $user = false)
    {
        return 0;
    }

    /**
     */
    protected function _deleteOldEntries($before)
    {
    }

}
