wp_mail() return false . waiting for response please or suggestions ou recommandations?

Have you verified the hosting environment can send emails? If it is a local test environment, your email may be getting caught up on your own computer. Many of the hosting environments prevent emailing to prevent spam.

I would probably try using the default emailing capabilities of a working plugin first to test this. Or, try a very simple script:

var_dump(wp_mail(‘[email protected]‘, ‘my test subject’, ‘here is the
message’));
die;

If this isn’t working, I’d try to remove the environment/install from being an issue. Try this simple script on a fresh install or new environment. Do it until you see success then replace it with your own. From there, you can use a series of var_dump() commands to see what the variables are holding and you will be able to pinpoint what is going wrong.

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