Easy WP SMTP plugin test email failed

If you want to configure Gmail account, you need to fill Encryption type: SSL Port: 465 Requires Authentication: Yes Or you can try https://wordpress.org/plugins/wp-mail-bank/. This would help you in authenticating the Gmail account using oAuth.

WordPress SMTP EMail

Replace the line mail (“{$ad[‘display_name’]} <$email>”, $subject, $html, $headers); with wp_mail(“{$ad[‘display_name’]} <$email>”, $subject, $html, $headers); and install the WP_Mail_SMTP plugin which will use SMTP instead of the php mail() function.

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