Send a specific email in HTML and the rest in plain text

Try adding quotes around the return value:

add_filter( 'wp_mail_content_type', function() { return 'text/html'; }); 

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