<blockquote>
  <p>Does Craft require any specific configuration for PHP Mail to work?</p>
</blockquote>

<p>No.  Craft assumes that <a href="https://secure.php.net/manual/en/book.mail.php" rel="nofollow noreferrer">PHP's mail</a> function is already working if that's what you've selected under Settings->Email in the control panel.</p>

<p>You don't mention what the actual problem you're having is (i.e. getting an error message or email not being delivered, etc.), but there is a support article here that can help you debug both of those issues: <a href="https://craftcms.com/support/troubleshooting-email-errors" rel="nofollow noreferrer">https://craftcms.com/support/troubleshooting-email-errors</a></p>

CC BY-SA 3.0
2017-01-03T18:35:48.357Z
2017-01-03T18:35:48.357Z
Brad Bell
<p>I'm trying to set up a basic PHP Mail setup with Craft. I really just need it set up to handle new account activation e-mails. I can't seem to find any instructions on the Craft site or elsewhere on how to set this up specifically for Craft. Does Craft require any specific configuration for PHP Mail to work? </p>

<p>Thanks. </p>

CC BY-SA 3.0
2017-01-03T18:44:50.793Z
PHP Mail is notoriously unreliable... I'd highly recommend using an SMTP service, like [Mailgun](http://www.mailgun.com/) or [SparkPost](https://www.sparkpost.com/).
Lindsey D
<emails>
Configuring email (PHP Mail) with Craft
# Configuring email (PHP Mail) with Craft

(Asked by: username_0 on 2017-01-03)

I'm trying to set up a basic PHP Mail setup with Craft. I really just need it set up to handle new account activation e-mails. I can't seem to find any instructions on the Craft site or elsewhere on how to set this up specifically for Craft. Does Craft require any specific configuration for PHP Mail to work?

Thanks.

**Tags:** emails

> **Comments:**
> **username_1**: PHP Mail is notoriously unreliable... I'd highly recommend using an SMTP service, like [Mailgun](http://www.mailgun.com/) or [SparkPost](https://www.sparkpost.com/).  

---

## 1 answers

### Answer by username_2 on 2017-01-03. Score: 2 | Accepted answer

> Does Craft require any specific configuration for PHP Mail to work?

No. Craft assumes that [PHP's mail](https://secure.php.net/manual/en/book.mail.php) function is already working if that's what you've selected under Settings->Email in the control panel.

You don't mention what the actual problem you're having is (i.e. getting an error message or email not being delivered, etc.), but there is a support article here that can help you debug both of those issues: <https://craftcms.com/support/troubleshooting-email-errors>


---

