# Unable to use email service

**URL:** <https://community.dreamfactory.com/t/unable-to-use-email-service/2682>\
**Category:** App Configuration\
**Created:** [May 11, 2016, 1:36pm UTC](https://community.dreamfactory.com/t/unable-to-use-email-service/2682 "2016-05-11T13:36:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gavin\_Beard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/gavin_beard/32/976_2.png) [@Gavin\_Beard](https://community.dreamfactory.com/u/Gavin_Beard)\
**Post date:** [May 11, 2016, 1:36pm UTC](https://community.dreamfactory.com/t/unable-to-use-email-service/2682/1 "2016-05-11T13:36:27Z")

</div>

Hi all,

I am trying to setup the local email service with dreamfactory 2.0 (for user registration, password reset etc). I’ve updaded the .env file and config/mail.php but get the following:

```
{
  "error": {
    "context": null,
    "message": "Missing one or more configuration for SMTP driver.",
    "code": 500
  }
}

```

I have checked that sendmail is working from terminal (while running use\_dreamfactory which was part of the Bitnami install) and it sends mails just fine.

I’ve also setup an smtp service which works fine, but I cannot use this for user registrations and password resets by the looks of it.

Any idea on what else could cause this issue?

Gavin

---

<div class="post-metadata">

**Author:** ![Gavin\_Beard](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/gavin_beard/32/976_2.png) [@Gavin\_Beard](https://community.dreamfactory.com/u/Gavin_Beard)\
**Post date:** [May 12, 2016, 7:43am UTC](https://community.dreamfactory.com/t/unable-to-use-email-service/2682/2 "2016-05-12T07:43:20Z")

</div>

Resolved. I had to make the existing email service inactive and then it would allow me to pick the new SMTP service I’d setup. Now all works as I would have hoped

---

<div class="post-metadata">

**Author:** ![DFCommunityManager](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/dfcommunitymanager/32/887_2.png) [@DFCommunityManager](https://community.dreamfactory.com/u/DFCommunityManager)\
**Post date:** [May 12, 2016, 8:04pm UTC](https://community.dreamfactory.com/t/unable-to-use-email-service/2682/3 "2016-05-12T20:04:26Z")

</div>

Hey Gavin, I am glad to hear that you resolved the problem! Thanks for coming back and letting us all know.

-@AlexBowen
