From c437c650b31eb7c7c692736f54d3b585aa11ea0a Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 15 Aug 2020 19:00:13 +0300 Subject: [PATCH] Corrected the reference to the PHPMailer class --- engine/Notifications/Email.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index c046a15d..4e0bddc4 100755 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -17,6 +17,7 @@ use \EA\Engine\Types\Text; use \EA\Engine\Types\NonEmptyText; use \EA\Engine\Types\Url; use \EA\Engine\Types\Email as EmailAddress; +use \PHPMailer\PHPMailer\PHPMailer; /** * Email Notifications Class @@ -282,11 +283,11 @@ class Email { /** * Create PHP Mailer Instance * - * @return \PHPMailer + * @return PHPMailer */ protected function _createMailer() { - $mailer = new \PHPMailer; + $mailer = new PHPMailer(); if ($this->config['protocol'] === 'smtp') {