# Email not arrived for users

**URL:** https://community.passbolt.com/t/email-not-arrived-for-users/11346
**Category:** Installation Issues
**Created:** [November 11, 2024, 2:31pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346 "2024-11-11T14:31:35Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 11, 2024, 2:31pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/1 "2024-11-11T14:31:35Z")

</div>

**Checklist**  
[x] I have read intro post: [https://community.passbolt.com/t/about-the-installation-issues-category/12](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
[x] I have read the tutorials, help and searched for similar issues  
[x] I provide relevant information about my server (component names and versions, etc.)  
[x] I provide a copy of my logs and healthcheck  
[x] I describe the steps I have taken to trouble shoot the problem  
[x] I describe the steps on how to reproduce the issue

## Healthcheck shell

Environment

[PASS] PHP version 8.2.20.  
[PASS] PHP version is 8.1 or above.  
[PASS] PCRE compiled with unicode support.  
[PASS] Mbstring extension is installed.  
[PASS] Intl extension is installed.  
[PASS] GD or Imagick extension is installed.  
[PASS] The temporary directory and its content are writable and not executable.  
[PASS] The logs directory and its content are writable.

Config files

[PASS] The application config file is present  
[PASS] The passbolt config file is present

Core config

[PASS] Cache is working.  
[FAIL] Debug mode is on.  
[HELP] Set debug to false in /etc/passbolt/passbolt.php  
[PASS] Unique value set for security.salt  
[PASS] Full base url is set to [https://vault.quero.com](https://vault.quero.com)  
[PASS] App.fullBaseUrl validation OK.  
[PASS] /healthcheck/status is reachable.

SSL Certificate

[PASS] SSL peer certificate validates.  
[PASS] Hostname is matching in SSL certificate.  
[PASS] Not using a self-signed certificate.

SMTP settings

[PASS] The SMTP Settings plugin is enabled.  
[PASS] SMTP Settings coherent. You may send a test email to validate them.  
[PASS] The SMTP Settings source is: database.  
[WARN] The SMTP Settings plugin endpoints are enabled.  
[HELP] It is recommended to disable the plugin endpoints.  
[HELP] Set the PASSBOLT\_SECURITY\_SMTP\_SETTINGS\_ENDPOINTS\_DISABLED environment variable to true.  
[HELP] Or set passbolt.security.smtpSettings.endpointsDisabled to true in /etc/passbolt/passbolt.php.  
[PASS] No custom SSL configuration for SMTP server.

JWT Authentication

[PASS] The JWT Authentication plugin is enabled.  
[FAIL] The /etc/passbolt/jwt/ directory should not be writable.  
[HELP] You can try:  
[HELP] sudo chown -Rf root:www-data /etc/passbolt/jwt/  
[HELP] sudo chmod 750 /etc/passbolt/jwt/  
[HELP] sudo chmod 640 /etc/passbolt/jwt/jwt.key  
[HELP] sudo chmod 640 /etc/passbolt/jwt/jwt.pem  
[PASS] A valid JWT key pair was found.

GPG Configuration

[PASS] PHP GPG Module is installed and loaded.  
[PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.  
[PASS] The directory /var/lib/passbolt/.gnupg containing the keyring is writable by the webserver user.  
[PASS] The server OpenPGP key is not the default one.  
[PASS] The public key file is defined in /etc/passbolt/passbolt.php and readable.  
[PASS] The private key file is defined in /etc/passbolt/passbolt.php and readable.  
[PASS] The server key fingerprint matches the one defined in /etc/passbolt/passbolt.php.  
[PASS] The server public key defined in the /etc/passbolt/passbolt.php (or environment variables) is in the keyring.  
[PASS] There is a valid email id defined for the server key.  
[PASS] The public key can be used to encrypt a message.  
[PASS] The private key can be used to sign a message.  
[PASS] The public and private keys can be used to encrypt and sign a message.  
[PASS] The private key can be used to decrypt a message.  
[PASS] The private key can be used to decrypt and verify a message.  
[PASS] The public key can be used to verify a signature.  
[PASS] The server public key format is Gopengpg compatible.  
[PASS] The server private key format is Gopengpg compatible.

Application configuration

[PASS] Using latest passbolt version (4.9.1).  
[FAIL] Passbolt is not configured to force SSL use.  
[HELP] Set passbolt.ssl.force to true in /etc/passbolt/passbolt.php.  
[PASS] App.fullBaseUrl is set to HTTPS.  
[PASS] Selenium API endpoints are disabled.  
[PASS] Search engine robots are told not to index content.  
[INFO] The Self Registration plugin is enabled.  
[INFO] Registration is closed, only administrators can add users.  
[PASS] The deprecated self registration public setting was not found in /etc/passbolt/passbolt.php.  
[PASS] Host availability will be checked.  
[PASS] Serving the compiled version of the javascript app.  
[WARN] Some email notifications are disabled by the administrator.  
[PASS] The database schema is up to date.

Database

[PASS] The application is able to connect to the database  
[PASS] 31 tables found.  
[PASS] Some default content is present.

[FAIL] 3 error(s) found. Hang in there!

When I try loggin in UI Web, return “check your email box”, but the messagem didn’t arrive.

Can you help?

The test using this command, it works!

```auto
bin/cake passbolt send_test_email --recipient=youremail@domain.com"

```

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/9/9073365c722c7dfbdd4cd24a673fd8bb10541e0e.png)

---

<div class="post-metadata">

### Author: ![ishan](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ishan/32/1583_2.png) [@ishan](https://community.passbolt.com/u/ishan)
#### Post date: [November 11, 2024, 2:54pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/2 "2024-11-11T14:54:19Z")

</div>

Hey @nicholasrab, can you look at this troubleshooting guide? It lists down common issues for email delivery.

[https://www.passbolt.com/docs/hosting/troubleshooting/email/](https://www.passbolt.com/docs/hosting/troubleshooting/email/)

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 11, 2024, 6:17pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/3 "2024-11-11T18:17:08Z")

</div>

Hey , @ishan ! Tks for response!

I’m try this steps… In column “sent” is blank.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/0/0159cb61dc2743a20423dc9930b1605edc96f9e0.png)

 ![cron](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/f/fa36ca29e5e2bfadf741706997db83b308d0e1f8.png)

 ![passbolt](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/7/73aab20a25ae2233c1867e004f34ecf7f51322c8.png)

---

<div class="post-metadata">

### Author: ![ishan](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ishan/32/1583_2.png) [@ishan](https://community.passbolt.com/u/ishan)
#### Post date: [November 13, 2024, 3:20pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/4 "2024-11-13T15:20:37Z")

</div>

Yeah so looks like the cron job is not setup. Which linux distribution are you using? Also, which guide/process you followed to install passbolt? Generally if you follow our official [installation guide](https://www.passbolt.com/docs/hosting/install/) then the cronjob is already configured without you needing do anything.

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 18, 2024, 2:17pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/5 "2024-11-18T14:17:28Z")

</div>

Exactly! I’m using a base-app (custom chart) for deployment without configmap.  
If mount the volumes that are in template and create the cronjobs, does it work?

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 22, 2024, 6:49pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/6 "2024-11-22T18:49:33Z")

</div>

My pod of cronjob email is up, loggin: “sending emails”

But when runs bin/cron in app container, return blank.

The cron.service until off. How to start this service?

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/7/7879a83af607a60eb49630251378c3cb14b6da11.png)

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 26, 2024, 4:39pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/7 "2024-11-26T16:39:09Z")

</div>

@ishan Can you give me a hint?

I don’t know what to do…

Tks…

---

<div class="post-metadata">

### Author: ![ishan](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ishan/32/1583_2.png) [@ishan](https://community.passbolt.com/u/ishan)
#### Post date: [November 27, 2024, 8:16am UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/8 "2024-11-27T08:16:45Z")

</div>

Hey @nicholasrab, I don’t have much idea about k8s/helm thing. But did you checked error logs? Is there anything in there?

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 27, 2024, 12:33pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/9 "2024-11-27T12:33:20Z")

</div>

@ishan log of cron:

2024-11-27 11:52:00 error: [InvalidArgumentException] The “Smtp” transport configuration does not exist in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Mailer/TransportFactory.php on line 85  
Stack Trace:

- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Mailer/TransportFactory.php:114
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Mailer/Mailer.php:494
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Mailer/Mailer.php:436
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Mailer/Mailer.php:221
- /usr/share/php/passbolt/plugins/PassboltCe/EmailDigest/src/Service/SendEmailBatchService.php:74
- /usr/share/php/passbolt/plugins/PassboltCe/EmailDigest/src/Service/SendEmailBatchService.php:64
- /usr/share/php/passbolt/plugins/PassboltCe/EmailDigest/src/Command/SenderCommand.php:63
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php:190
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:334
- /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php:172
- /usr/share/php/passbolt/bin/cake.php:13
- [main]:

www-data@passbolt-prod-5fcd8b9f5d-4bfm5:/usr/share/php/passbolt$ cat /var/log/passbolt/cron.log

Passbolt | Error

- [home](https://vault.quero.com/)
- login

## An Internal Error Has Occurred

The "Smtp" transport configuration does not exist

### Could this be caused by using Auto-Tables?

Some of the Table objects in your application were created by instantiating " **Cake\ORM\Table**" instead of any other specific subclass.

This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:

- The class for the specified table does not exist.
- The Table was created with a typo: **_$this-\>getTableLocator()-\>get('Articles');_**
- The class file has a typo in the name or incorrect namespace: **_class Articles extends Table_**
- The file containing the class has a typo or incorrect casing: **_Articles.php_**
- The Table was used using associations but the association has a typo: **_$this-\>belongsTo('Articles')_**
- The table class resides in a Plugin but **_no plugin notation_** was used in the association definition.

  

Please try correcting the issue for the following table aliases:

- **Actions**

  

- Terms
- Privacy
- Credits
- Versions

---

<div class="post-metadata">

### Author: ![ishan](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ishan/32/1583_2.png) [@ishan](https://community.passbolt.com/u/ishan)
#### Post date: [November 28, 2024, 8:48am UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/10 "2024-11-28T08:48:26Z")

</div>

Hey @nicholasrab, this is unusual. The “Smtp” transport is already defined in the `config/bootstrap.php` file ([see here](https://github.com/passbolt/passbolt_api/blob/master/config/bootstrap.php#L186)), can you check this file and see if it contains this code?

Also, have you set `EMAIL_DEFAULT_TRANSPORT` env variable? If yes, can you try removing this env var and try without it? It’s used in the `config/app.php` so you might want to check it as well.

---

<div class="post-metadata">

### Author: ![nicholasrab](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/nicholasrab/32/4440_2.png) [@nicholasrab](https://community.passbolt.com/u/nicholasrab)
#### Post date: [November 28, 2024, 8:24pm UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/11 "2024-11-28T20:24:41Z")

</div>

Hey @ishan , tks for response.

The file bootstrap.php contain the code.

I’m using theese env’s:  
EMAIL\_DEFAULT\_TRANSPORT = Smtp  
EMAIL\_TRANSPORT\_DEFAULT\_CLASS\_NAME = Smtp  
EMAIL\_TRANSPORT\_DEFAULT\_TLS = true  
EMAIL\_TRANSPORT\_DEFAULT\_HOST = 587  
EMAIL\_DEFAULT\_FROM\_NAME = passbolt  
EMAIL\_TRANSPORT\_DEFAULT\_TIMEOUT = 30  
EMAIL\_DEFAULT\_FROM= [x@domain.com](mailto:x@domain.com)  
EMAIL\_TRANSPORT\_DEFAULT\_PASSWORD = [x@domain.com](mailto:x@domain.com)  
EMAIL\_TRANSPORT\_DEFAULT\_USERNAME = [xpto@domain.com](mailto:xpto@domain.com)

This env(EMAIL\_DEFAULT\_TRANSPORT) was a key!! After remove, the emails started arrive

---

<div class="post-metadata">

### Author: ![ishan](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/ishan/32/1583_2.png) [@ishan](https://community.passbolt.com/u/ishan)
#### Post date: [November 29, 2024, 7:44am UTC](https://community.passbolt.com/t/email-not-arrived-for-users/11346/12 "2024-11-29T07:44:47Z")

</div>

I’m glad that the issue got resolved. Enjoy passbolt ❤
