diff --git a/core/email_api.php b/core/email_api.php index dcd3136..8fe251f 100644 --- a/core/email_api.php +++ b/core/email_api.php @@ -880,7 +880,7 @@ function email_send( $p_email_data ) { if ( $t_mailer_method == PHPMAILER_METHOD_SMTP ) register_shutdown_function( 'email_smtp_close' ); if( !class_exists( 'PHPMailer' ) ) { - require_once( BASE_PATH . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'phpmailer' . DIRECTORY_SEPARATOR . 'class.phpmailer.php' ); + require_once( 'PHPMailer/class.phpmailer.php' ); } $mail = new PHPMailer(true); } else {