Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / classes / Swift / Events / SendListener.php
1 <?php
2
3 /*
4 * This file is part of SwiftMailer.
5 * (c) 2004-2009 Chris Corbyn
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 //@require 'Swift/Events/EventListener.php';
12 //@require 'Swift/Events/SendEvent.php';
13
14 /**
15 * Listens for Messages being sent from within the Transport system.
16 * @package Swift
17 * @subpackage Events
18 * @author Chris Corbyn
19 */
20 interface Swift_Events_SendListener extends Swift_Events_EventListener
21 {
22
23 /**
24 * Invoked immediately before the Message is sent.
25 * @param Swift_Events_SendEvent $evt
26 */
27 public function beforeSendPerformed(Swift_Events_SendEvent $evt);
28
29 /**
30 * Invoked immediately after the Message is sent.
31 * @param Swift_Events_SendEvent $evt
32 */
33 public function sendPerformed(Swift_Events_SendEvent $evt);
34
35 }