TYPO3 API  SVNRelease
Reporter.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 //@require 'Swift/Mime/Message.php';
00012 
00013 /**
00014  * The Reporter plugin sends pass/fail notification to a Reporter.
00015  * @package Swift
00016  * @subpackage Plugins
00017  * @author Chris Corbyn
00018  */
00019 interface Swift_Plugins_Reporter
00020 {
00021 
00022   /** The recipient was accepted for delivery */
00023   const RESULT_PASS = 0x01;
00024 
00025   /** The recipient could not be accepted */
00026   const RESULT_FAIL = 0x10;
00027 
00028   /**
00029    * Notifies this ReportNotifier that $address failed or succeeded.
00030    * @param Swift_Mime_Message $message
00031    * @param string $address
00032    * @param int $result from {@link RESULT_PASS, RESULT_FAIL}
00033    */
00034   public function notify(Swift_Mime_Message $message, $address, $result);
00035 
00036 }