Newsletters php mail issue


I use php mail function for sending emails.

If I send test mail it comes perfect.

If I want to send mail to all subscribers. it says “Error Could not instantiate mail function.”

I followed the instructions in this post to check mail function on my server and it works perfect.

What is wrong? Please help.