If I connect my own SMTP server to wp_mail, reset password doesn’t works anymore

A “$” character in my password seems to be guilty …

Fix the issue by replacing:

$phpmailer->Password = "xxxxx$xx";

by

$phpmailer->Password = 'xxxxx$xx';

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)