forked from fuel/email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.php
53 lines (47 loc) · 1.91 KB
/
bootstrap.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Fuel
*
* Fuel is a fast, lightweight, community driven PHP5 framework.
*
* @package Fuel
* @version 1.7
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2014 Fuel Development Team
* @link http://fuelphp.com
*/
Autoloader::add_core_namespace('Email');
Autoloader::add_classes(array(
/**
* Email classes.
*/
'Email\\Email' => __DIR__.'/classes/email.php',
'Email\\Email_Driver' => __DIR__.'/classes/email/driver.php',
'Email\\Email_Driver_Mail' => __DIR__.'/classes/email/driver/mail.php',
'Email\\Email_Driver_Smtp' => __DIR__.'/classes/email/driver/smtp.php',
'Email\\Email_Driver_Sendmail' => __DIR__.'/classes/email/driver/sendmail.php',
'Email\\Email_Driver_Noop' => __DIR__.'/classes/email/driver/noop.php',
'Email\\Email_Driver_Mailgun' => __DIR__.'/classes/email/driver/mailgun.php',
'Email\\Email_Driver_Mandrill' => __DIR__.'/classes/email/driver/mandrill.php',
/**
* Email exceptions.
*/
'Email\\AttachmentNotFoundException' => __DIR__.'/classes/email.php',
'Email\\InvalidAttachmentsException' => __DIR__.'/classes/email.php',
'Email\\InvalidEmailStringEncoding' => __DIR__.'/classes/email.php',
'Email\\EmailSendingFailedException' => __DIR__.'/classes/email.php',
'Email\\EmailValidationFailedException' => __DIR__.'/classes/email.php',
/**
* Smtp exceptions
*/
'Email\\SmtpTimeoutException' => __DIR__.'/classes/email/driver/smtp.php',
'Email\\SmtpConnectionException' => __DIR__.'/classes/email/driver/smtp.php',
'Email\\SmtpCommandFailureException' => __DIR__.'/classes/email/driver/smtp.php',
'Email\\SmtpAuthenticationFailedException' => __DIR__.'/classes/email/driver/smtp.php',
/**
* Sendmail exceptions
*/
'Email\\SendmailFailedException' => __DIR__.'/classes/email/driver/sendmail.php',
'Email\\SendmailConnectionException' => __DIR__.'/classes/email/driver/sendmail.php',
));