This error indicates that your server's email function is either disabled or not properly configured. Many web hosting companies block the default WordPress email function for security reasons. So, to avoid this error, install and continue the Post SMTP SMTP plugin.