forked from fuel/email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.php
36 lines (31 loc) · 1.33 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
<?php
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 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\\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',
));