Location: PHPKode > projects > SolarPHP > solar-system-1.1.1/solar/source/solar/Solar/Mail/Transport/Adapter/None.php
<?php
/**
 * 
 * Pseudo-transport that does nothing at all.
 * 
 * Useful for some kinds of tests, and for "turning off" mail sending in some
 * cases.
 * 
 * @category Solar
 * 
 * @package Solar_Mail
 * 
 * @author Paul M. Jones <hide@address.com>
 * 
 * @license http://opensource.org/licenses/bsd-license.php BSD
 * 
 * @version $Id: None.php 3153 2008-05-05 23:14:16Z pmjones $
 * 
 */
class Solar_Mail_Transport_Adapter_None extends Solar_Mail_Transport_Adapter
{
    /**
     * 
     * Does nothing.
     * 
     * @return bool Always true.
     * 
     */
    protected function _send()
    {
        return true;
    }
}
Return current item: SolarPHP