smtp error failed to connect
âSMTP connect() failedâ is a commonly encountered error in WordPress, due to which emails fail to be send from your WordPress site. By Default, WordPress uses the PHP Mail function to send emails. But using PHP mail function is a less secure method and makes the server vulnerable to spamming.