From 5c8e39a6b283b03a0b291d416737ed8ea6dd9750 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 2 Mar 2023 19:23:27 +0100 Subject: [PATCH] Mail: fix importing PEAR libs --- src/Email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'),