Unable to send mail
Recently I have installed Wordpress on my nginx server after Installing I'm getting this error
The email could not be sent.
Possible reason: your host may have disabled the mail() function.
While resetting my password. Why this error happened and how to solve this. My server config is Ubuntu 16.04, Nginx 1.12.1 and WordPress 4.7.5.