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 / TransportExceptionListener.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/TransportExceptionEvent.php';
13
14 /**
15 * Listens for Exceptions thrown from within the Transport system.
16 * @package Swift
17 * @subpackage Events
18 * @author Chris Corbyn
19 */
20 interface Swift_Events_TransportExceptionListener
21 extends Swift_Events_EventListener
22 {
23
24 /**
25 * Invoked as a TransportException is thrown in the Transport system.
26 * @param Swift_Events_TransportExceptionEvent $evt
27 */
28 public function exceptionThrown(Swift_Events_TransportExceptionEvent $evt);
29
30 }