WordPress is setting from header wrongly in wp_mail

You need to add newlines to your array like:

$headers = array('Content-Type: text/html; charset=UTF-8\r\n', "From: $name <$email>\r\n");

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