diff --git a/Dockerfile b/Dockerfile index 8e31efc..36944ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,6 +94,7 @@ COPY comanage_match_console_logging.patch /usr/local/src/ # they are part of Match source. COPY DatabaseConnectivityTestCommand.php ${COMANAGE_MATCH_DIR}/app/src/Command/ COPY DatabaseSetupAlreadyCommand.php ${COMANAGE_MATCH_DIR}/app/src/Command/ +COPY email.php ${COMANAGE_MATCH_DIR}/local/Config/ VOLUME ${COMANAGE_MATCH_DIR}/local diff --git a/email.php b/email.php new file mode 100644 index 0000000..377b248 --- /dev/null +++ b/email.php @@ -0,0 +1,55 @@ + [ + 'default' => [ + 'className' => 'Mail', + // The following keys are used in SMTP transports + 'host' => 'localhost', + 'port' => 25, + 'timeout' => 30, + 'username' => null, + 'password' => null, + 'client' => null, + 'tls' => null, + 'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null), + ], + ], + + /** + * Email delivery profiles + * + * Delivery profiles allow you to predefine various properties about email + * messages from your application and give the settings a name. This saves + * duplication across your application and makes maintenance and development + * easier. Each profile accepts a number of keys. See `Cake\Mailer\Email` + * for more information. + */ + 'Email' => [ + 'default' => [ + 'transport' => 'default', + 'from' => 'you@localhost', + //'charset' => 'utf-8', + //'headerCharset' => 'utf-8', + ], + ], +]; +