diff -r 1ef35abe7536 core/email_api.php --- a/core/email_api.php Fri Mar 21 17:25:42 2014 +0100 +++ b/core/email_api.php Fri Oct 17 17:16:14 2014 +0200 @@ -53,7 +53,7 @@ /** * requires PHPMailer library */ -require_once( 'phpmailer' . DIRECTORY_SEPARATOR . 'class.phpmailer.php' ); +require_once( 'phpmailer' . DIRECTORY_SEPARATOR . 'PHPMailerAutoload.php' ); /** * reusable object of class SMTP @@ -947,6 +947,11 @@ $mail->SMTPAuth = true; $mail->Username = config_get( 'smtp_username' ); $mail->Password = config_get( 'smtp_password' ); + $mail->AuthType = config_get( 'smtp_auth_type' ); + if ($mail->AuthType=='NTLM'){ + $mail->Realm = config_get( 'smtp_realm' ); + $mail->Workstation = config_get( 'smtp_workstation' ); + } } if ( !is_blank( config_get( 'smtp_connection_mode' ) ) ) {