Why pH7CMS can't send emails?

Sometime on production hosts and almost always on local hosts, you may encounter the following error message when pH7CMS has to send emails:

Oops! Our email server encountered an internal error and the email could not be sent. Please try again later!

This means there is an incorrect configuration on your host side and/or with the "php.ini" file.

In general, we recommend checking your SMTP configuration and your "php.ini" config file. If you still get the error, you should contact your hosting company to fix the problem for sending emails with PHP.

Also be aware that some hosting companies don't allow sending emails for spam reasons.

Finally, we always recommend using a host recommended by us.