forked from mirrors/easyappointments
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\NonEmptyText;
|
||||||
use \EA\Engine\Types\Url;
|
use \EA\Engine\Types\Url;
|
||||||
use \EA\Engine\Types\Email as EmailAddress;
|
use \EA\Engine\Types\Email as EmailAddress;
|
||||||
|
use \PHPMailer\PHPMailer\PHPMailer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Email Notifications Class
|
* Email Notifications Class
|
||||||
|
@ -282,11 +283,11 @@ class Email {
|
||||||
/**
|
/**
|
||||||
* Create PHP Mailer Instance
|
* Create PHP Mailer Instance
|
||||||
*
|
*
|
||||||
* @return \PHPMailer
|
* @return PHPMailer
|
||||||
*/
|
*/
|
||||||
protected function _createMailer()
|
protected function _createMailer()
|
||||||
{
|
{
|
||||||
$mailer = new \PHPMailer;
|
$mailer = new PHPMailer();
|
||||||
|
|
||||||
if ($this->config['protocol'] === 'smtp')
|
if ($this->config['protocol'] === 'smtp')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue