Answers.Body: <p>The development system must not have Mail. I went to </p>
  
  <pre><code>mysite://civicrm/admin/setting/smtp?reset=1
  </code></pre>
  
  <p>And picked 'save to database' as the mailer option as I don't really want to send mail anyway, just debug it.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-07T20:25:30.367Z
Answers.LastActivityDate: 2015-10-07T20:25:30.367Z
Answers.UserDisplayName: Interlated
Body: <p>I just migrated CiviCRM back to a development environment and I am getting: </p>
  
  <blockquote>
    <p>PHP Fatal error:  Class 'Mail' not found in ../web/sites/all/modules/civicrm/CRM/Core/Config.php on line 628</p>
  </blockquote>
  
  <p>This is when I am running a test mailing. The rest of the site seems OK. </p>
  
  <p>CiviCRM 4.6.3 and Drupal.</p>
  
Tags: <civimail>
Title: How can I fix "Fatal error: class Mail not found"?
ThreadText: # How can I fix "Fatal error: class Mail not found"?
  
  (Asked by: username_0 on 2015-10-07)
  
  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.
  
  **Tags:** civimail
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-10-07. Score: 1 | Accepted answer
  
  The development system must not have Mail. I went to 
  mysite://civicrm/admin/setting/smtp?reset=1
  
  And picked 'save to database' as the mailer option as I don't really want to send mail anyway, just debug it.
  
  
  ---
  
  