diff --git a/src/Email.php b/src/Email.php index dd47bb9..66a69d7 100644 --- a/src/Email.php +++ b/src/Email.php @@ -71,9 +71,9 @@ class Email { public static function send($from, $to, $subject, $msg, $html=false, $attachments=null, $headers=null, $encoding=null, $eol=null) { if (!class_exists('Mail')) - require_once(App :: get('php_mail_path', null, 'string')); + require_once(App :: get('email.php_mail_path', null, 'string')); if (!class_exists('Mail_mime')) - require_once(App :: get('php_mail_mime_path', null, 'string')); + require_once(App :: get('email.php_mail_mime_path', null, 'string')); $mail_obj = Mail::factory( App :: get('email.send_method', null, 'string'),