How to solve "Could not instantiate mail function." error

Hi, Can anyone share how can i solve


Could not instantiate mail function.


I am trying to send an email via PHP mailer. Please share any documentation

Turn on debugging and check your logs. This is explained in the WIKI and a few places in this forum.

Also, check that PHP is configured to send emails. Speak to your administrator to check the php,ini files.