Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
16 / 16 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | * This file is part of App Project. |
| 4 | * |
| 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | * file that was distributed with this source code. |
| 7 | */ |
| 8 | /** |
| 9 | * Mailer config. |
| 10 | * |
| 11 | * @see App::mailer() |
| 12 | * @see Framework\Email\Mailer::makeConfig() |
| 13 | * @see https://docs.aplus-framework.com/guides/libraries/mvc/index.html#mailer-service |
| 14 | */ |
| 15 | |
| 16 | use Framework\Email\Mailers\SMTPMailer; |
| 17 | |
| 18 | return [ |
| 19 | 'default' => [ |
| 20 | 'class' => SMTPMailer::class, |
| 21 | 'config' => [ |
| 22 | 'host' => 'localhost', |
| 23 | 'port' => 587, |
| 24 | 'tls' => true, |
| 25 | 'username' => null, |
| 26 | 'password' => null, |
| 27 | 'charset' => 'utf-8', |
| 28 | 'crlf' => "\r\n", |
| 29 | 'keep_alive' => false, |
| 30 | 'add_logs' => true, |
| 31 | ], |
| 32 | ], |
| 33 | ]; |