# Passbolt not sending email

**URL:** <https://community.passbolt.com/t/passbolt-not-sending-email/2093>\
**Category:** Installation Issues\
**Created:** [October 9, 2019, 3:27am UTC](https://community.passbolt.com/t/passbolt-not-sending-email/2093 "2019-10-09T03:27:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![allenchun](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/allenchun/32/314_2.png) [@allenchun](https://community.passbolt.com/u/allenchun)\
**Post date:** [October 9, 2019, 3:27am UTC](https://community.passbolt.com/t/passbolt-not-sending-email/2093/1 "2019-10-09T03:27:38Z")

</div>

I’m currently using passbolt docker and running it in my localhost:9000.  
I’m configuring the email configuration

Here’s the config inside **passbolt.env**  
EMAIL\_TRANSPORT\_DEFAULT\_CLASS\_NAME=Smtp  
EMAIL\_DEFAULT\_FROM=[gmail email]  
EMAIL\_DEFAULT\_TRANSPORT=Smtp  
EMAIL\_TRANSPORT\_DEFAULT\_HOST=[smtp.gmail.com](http://smtp.gmail.com)  
EMAIL\_TRANSPORT\_DEFAULT\_PORT=587  
EMAIL\_TRANSPORT\_DEFUALT\_USERNAME= [gmail email]  
EMAIL\_TRANSPORT\_DEFAULT\_PASSWORD= [gmail password]  
EMAIL\_TRANSPORT\_DEFAULT\_TLS=true

When I’m accessing the passbolt on web, and I try to recover my account it returns  
**Email sent! Please check your spam folder if you do not hear from us after a while.**  
but I check i didn’t receive any email

I tried stopping / starting the passbolt docker using

```
docker compose down
docker compose up
```

---

<div class="post-metadata">

**Author:** ![cedric](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/cedric/32/3868_2.png) [@cedric](https://community.passbolt.com/u/cedric)\
**Post date:** [October 9, 2019, 11:34am UTC](https://community.passbolt.com/t/passbolt-not-sending-email/2093/2 "2019-10-09T11:34:57Z")

</div>

Hello @allenchun,

This article might help you to solve your issue: [https://help.passbolt.com/faq/hosting/why-email-not-sent](https://help.passbolt.com/faq/hosting/why-email-not-sent)  
It is possible to send a test email via the command line and get a detailed output.

```auto
su -s /bin/bash -c "./bin/cake passbolt send_test_email --recipient=youremail@domain.com" www-data

```

---

<div class="post-metadata">

**Author:** ![allenchun](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/allenchun/32/314_2.png) [@allenchun](https://community.passbolt.com/u/allenchun)\
**Post date:** [October 10, 2019, 1:10am UTC](https://community.passbolt.com/t/passbolt-not-sending-email/2093/3 "2019-10-10T01:10:12Z")

</div>

Thanks it’s already working. I just stop and up the docker image

---

<div class="post-metadata">

**Author:** ![cedric](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/cedric/32/3868_2.png) [@cedric](https://community.passbolt.com/u/cedric)\
**Post date:** [October 10, 2019, 7:02am UTC](https://community.passbolt.com/t/passbolt-not-sending-email/2093/4 "2019-10-10T07:02:42Z")

</div>


