Skip to content

Commit

Permalink
Fixed issue #10721: Error with SMTP mail method
Browse files Browse the repository at this point in the history
Dev: add the PHPMailerAutoload
  • Loading branch information
Shnoulle committed Mar 10, 2016
1 parent ba37a43 commit 2434942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/common_helper.php
Expand Up @@ -4119,7 +4119,7 @@ function SendEmailMessage($body, $subject, $to, $from, $sitename, $ishtml=false,
}


require_once(APPPATH.'/third_party/phpmailer/class.phpmailer.php');
require_once(APPPATH.'/third_party/phpmailer/PHPMailerAutoload.php');
$mail = new PHPMailer;
if (!$mail->SetLanguage($defaultlang,APPPATH.'/third_party/phpmailer/language/'))
{
Expand Down

0 comments on commit 2434942

Please sign in to comment.