Cannot Select PHP Mail as Mail Provider

Symptom

After updating to WHMCS 8.6.1, you may be unable to select PHP Mail for Mail Provider in the Mail tab at Configuration > System Settings > General Settings.

Solution

Update to the WHMCS 8.7 release at Utilities > Update WHMCS.

Hotfix

Workaround

Run the following command to reset the Mail Provider setting in the WHMCS database:

UPDATE tblconfiguration SET value='' WHERE setting='MailConfig';

Then, reload the Mail tab at Configuration > System Settings > General Settings and reconfigure your email settings.