summaryrefslogtreecommitdiff
path: root/config/config.default.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-05 13:40:03 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-09-05 13:44:43 +0200
commit01e9c22695a3e495f07ab445750221af72e09fe4 (patch)
tree63c01a396d289f5f1e4d11259654e772300ff98c /config/config.default.php
parent9d34f371cb9c5ab0d60bd3158678b9cc9da6cc80 (diff)
Implemented mailing abstraction
Closes #434
Diffstat (limited to 'config/config.default.php')
-rw-r--r--config/config.default.php20
1 files changed, 18 insertions, 2 deletions
diff --git a/config/config.default.php b/config/config.default.php
index 0328e500..795ad1b7 100644
--- a/config/config.default.php
+++ b/config/config.default.php
@@ -26,8 +26,24 @@ return [
// Contact email address, linked on every page
'contact_email' => 'mailto:ticket@c3heaven.de',
- // From address of all emails
- 'no_reply_email' => 'noreply@engelsystem.de',
+ // Email config
+ 'email' => [
+ // Can be mail, smtp, sendmail or log
+ 'driver' => env('MAIL_DRIVER', 'smtp'),
+ 'from' => [
+ // From address of all emails
+ 'address' => env('MAIL_FROM_ADDRESS', 'noreply@engelsystem.de'),
+ 'name' => env('MAIL_FROM_NAME', 'Engelsystem')
+ ],
+
+ 'host' => env('MAIL_HOST', 'localhost'),
+ 'port' => env('MAIL_PORT', 587),
+ // Transport encryption like tls
+ 'encryption' => env('MAIL_ENCRYPTION', null),
+ 'username' => env('MAIL_USERNAME'),
+ 'password' => env('MAIL_PASSWORD'),
+ 'sendmail' => '/usr/sbin/sendmail -bs',
+ ],
// Default theme, 1=style1.css
'theme' => 1,