Added feature #15998: Create a new API to send mails based on SwiftMailer to replace...
[Packages/TYPO3.CMS.git] / typo3 / contrib / swiftmailer / swift_required.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 /*
12 * Autoloader and dependency injection initialization for Swift Mailer.
13 */
14
15 //Load Swift utility class
16 require_once dirname(__FILE__) . '/classes/Swift.php';
17
18 //Start the autoloader
19 Swift::registerAutoload();
20
21 //Load the init script to set up dependency injection
22 require_once dirname(__FILE__) . '/swift_init.php';