I just migrated CiviCRM back to a development environment and I am getting:

PHP Fatal error: Class 'Mail' not found in ../web/sites/all/modules/civicrm/CRM/Core/Config.php on line 628

This is when I am running a test mailing. The rest of the site seems OK.

CiviCRM 4.6.3 and Drupal.

1 Answer 1


The development system must not have Mail. I went to


And picked 'save to database' as the mailer option as I don't really want to send mail anyway, just debug it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.