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.

Was this post helpful?