# Email/SMTP Configuration

**URL:** <https://community.passbolt.com/t/email-smtp-configuration/2011>\
**Category:** Installation Issues\
**Created:** [August 22, 2019, 9:58pm UTC](https://community.passbolt.com/t/email-smtp-configuration/2011 "2019-08-22T21:58:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jme](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@Jme](https://community.passbolt.com/u/Jme)\
**Post date:** [August 22, 2019, 9:58pm UTC](https://community.passbolt.com/t/email-smtp-configuration/2011/1 "2019-08-22T21:58:51Z")

</div>

Could someone please explain to me how to update the SMTP settings?

I’ve looked all day on the application, server, forums…

I can run the test script: sudo /var/www/passbolt/bin/cake passbolt send\_test\_email [--recipient=me@mymailserver.com](mailto:--recipient=me@mymailserver.com)

…which fails (need to disable TLS), but I can’t find where those settings are stored. I assume, at this point, they are hidden somewhere in the database?

Running on Debian 10 VM, followed the Debian 10 install guide.

---

<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:** [August 26, 2019, 11:28am UTC](https://community.passbolt.com/t/email-smtp-configuration/2011/2 "2019-08-26T11:28:16Z")

</div>

Hello @Jme,

The settings are stored in the file `config/passbolt.php`, and the configuration format is as following:

```auto
    /**
     * Email configuration.
     *
     * By defining transports separately from delivery profiles you can easily
     * re-use transport configuration across multiple profiles.
     *
     * You can specify multiple configurations for production, development and
     * testing.
     *
     * Each transport needs a `className`. Valid options are as follows:
     *
     * Mail - Send using PHP mail function
     * Smtp - Send using SMTP
     * Debug - Do not send the email, just return the result
     *
     * You can add custom transports (or override existing transports) by adding the
     * appropriate file to src/Mailer/Transport. Transports should be named
     * 'YourTransport.php', where 'Your' is the name of the transport.
     */
    'EmailTransport' => [
        'default' => [
            'className' => 'Smtp',
            'host' =>'localhost',
            'port' => 25,
            'timeout' => 30,
            'username' => null,
            'password' => null,
            // 'client' => null,
            'tls' => null,
            // 'url' => null,
        ]
    ],,

```

Hope it will help you,  
Best regards,  
Cedric

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/b/bee7d3f9329f668000d46e9fcb2e5db1e9d31348.svg) [@system](https://community.passbolt.com/u/system)\
**Post date:** [August 31, 2019, 11:39am UTC](https://community.passbolt.com/t/email-smtp-configuration/2011/3 "2019-08-31T11:39:28Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
