Setting up XAMPP and Sendmail to enable WordPress emails on localhost

I was able to resolve the issue. Inside of my php.ini file I commented out the wrong line. I was enabling mail through send disk and not sendmail.

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