WP – not sending email

wp_mail() uses phpMailer which defaults to localhost so if your development server is not configured as a mail server, the email won’t fly.

Use the ‘wp_mail_failed’ action hook to get the WP_Error that’s thrown so you can further troubleshoot the problem.

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