Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Copy the file match/config/email.php.dist to local/Config/email.php. Edit the file with your outgoing email connection information.

Code Block
titleExample databaseemail.php for PostgreSQL
<?php
 return [
     'EmailTransport' => [
        'default' => [
            'className' => 'Smtp',
            // The following keys are used in SMTP transports
            'host' => 'smtp.organization.edu',
            'port' => 587,
            'timeout' => 30,
            'username' => 'someuser',
            'password' => 'somepass',
            'tls' => true,
        ],
    ],
    'Email' => [
        'default' => [
            'transport' => 'default',
            'from' => 'postmaster@organization.edu',
            //'charset' => 'utf-8',
            //'headerCharset' => 'utf-8',
        ],
    ],
 ];

...