Events Manager uses deprecated version of PHPMailer
-
Dear Events Manager team,
in your class EM_Mailer and the method load_phpmailer() you use the deprecated files:
require_once ABSPATH . WPINC . ‘/class-phpmailer.php’;
require_once ABSPATH . WPINC . ‘/class-smtp.php’;
In order to avoid warning notices from WP since 5.5. I think you should use the following files instead:
require_once ABSPATH . WPINC . ‘/PHPMailer/PHPMailer.php’;
require_once ABSPATH . WPINC . ‘/PHPMailer/SMTP.php’;Apart from that some more changes will probably be necessary, e.g. regarding the name space changes of PHPMailer.
If I am correct, could you please fix that?
Thank you and best regards
Florian
- The topic ‘Events Manager uses deprecated version of PHPMailer’ is closed to new replies.