Email/SMTP Configuration

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

…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.

Hello @Jme,

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

     * 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,

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