It’s using wp_mail() function, so your server must support sendmail module, otherwise, you need to install it on your server.
The other easy way to send mail without this module is that you can install “Configure SMTP” plugin and finish the settings with your SMTP service account, I’m using this plugin to instead of wp_mail() on my site.