Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
match/app/config/email.php.dist
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
54 lines (53 sloc)
1.79 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
/** | |
* 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' => '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', | |
], | |
], | |
]; |