mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fix PHPMailer smtp class loading when using SMTP transport (['smtp_host'] set) (#599)
This commit is contained in:
committed by
Pierrick Le Gall
parent
f93a312e08
commit
c2b456ba0f
@@ -607,7 +607,7 @@ function pwg_mail($to, $args=array(), $tpl=array())
|
||||
$conf_mail = get_mail_configuration();
|
||||
}
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'include/phpmailer/class.phpmailer.php');
|
||||
include_once(PHPWG_ROOT_PATH.'include/phpmailer/PHPMailerAutoload.php');
|
||||
|
||||
$mail = new PHPMailer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user