fixed sending e-mails

parent 33973cd6
......@@ -135,7 +135,7 @@ abstract class Functions {
{
require_once LIBRARIES_DIR . 'phpmailer/class.phpmailer.php';
$mail = new PHPMailer(true);
$mail = new \PHPMailer(true);
try {
if (strtolower(CONFIG_MAILER_TYPE) === 'smtp') {
$mail->set('Mailer', 'smtp');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment