mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 19:03:21 +03:00
Corrected the reference to the PHPMailer class
This commit is contained in:
parent
6cbb13dc2d
commit
c437c650b3
1 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue