TYPO3 API  SVNRelease
SendListener.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/Events/EventListener.php';
00012 //@require 'Swift/Events/SendEvent.php';
00013 
00014 /**
00015  * Listens for Messages being sent from within the Transport system.
00016  * @package Swift
00017  * @subpackage Events
00018  * @author Chris Corbyn
00019  */
00020 interface Swift_Events_SendListener extends Swift_Events_EventListener
00021 {
00022 
00023   /**
00024    * Invoked immediately before the Message is sent.
00025    * @param Swift_Events_SendEvent $evt
00026    */
00027   public function beforeSendPerformed(Swift_Events_SendEvent $evt);
00028 
00029   /**
00030    * Invoked immediately after the Message is sent.
00031    * @param Swift_Events_SendEvent $evt
00032    */
00033   public function sendPerformed(Swift_Events_SendEvent $evt);
00034 
00035 }