Error “Could not instantiate mail function”

If you are running a CMS like Joomla or Drupal and you are using the Mail function, you may run across this error from time to time;

‘Could not instantiate mail function’

This can happen for the following reasons;

* PHP function mail() has been disabled or not working.
* You are running an older version on PHP in your server.

Here are the steps to solve it;

* If you are running Joomla, then go to Admin panel > Global Configuration > Server > Mail Settings > Mailer and select SENDMAIL there,instead of PHP MAIL FUNCTION.
* You may also contact your host and ask them to change the PHP Mail Function in the PHP.ini on the server and also ask them to upgrade the PHP to the latest version.


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.