-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmail-template-engine.php
81 lines (74 loc) · 2.71 KB
/
mail-template-engine.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
return [
/*
|--------------------------------------------------------------------------
| Debug mail
|--------------------------------------------------------------------------
|
| This mail address will be used to send mails to when in debug mode.
|
*/
'debug_mail' => env('DEBUG_MAIL'),
/*
|--------------------------------------------------------------------------
| Mail Classes
|--------------------------------------------------------------------------
|
| Here you can add all the available mail classes that can be selected for
| customization.
|
| The key of this array should be saved to the mail-template,
| this way you are not limited by the namespace of the template.
|
| F.E. 'test-mail' => App\Mail\TestMail::class,
|
*/
'mails' => [
'verify-email' => Statikbe\LaravelMailEditor\Mails\VerifyEmailMail::class,
'reset-password' => Statikbe\LaravelMailEditor\Mails\ResetPasswordMail::class,
],
/*
|--------------------------------------------------------------------------
| Mail Designs
|--------------------------------------------------------------------------
|
| Mail templates can have different designs, these are views that are
| filled with $content.
|
| Supported: - package based view notation (statikbe::mail.designs.default)
| - default include notation (mails.designs.default)
|
*/
'designs' => [
'statikbe::mail.designs.default' => 'default',
],
/*
|--------------------------------------------------------------------------
| Render engines
|--------------------------------------------------------------------------
|
| The possible render engines your system provides. These engines receive
| the mailable, design and body and define how the mail is rendered.
|
| The key of this array is saved to the mail-template, this way you are not
| limited by the namespace of the template.
|
| Provided: - Html engine for regular HTML wysiwyg
| - Editor-js engine for Editor.js wysiwyg json data
|
*/
'render_engines' => [
'html' => Statikbe\LaravelMailEditor\MailRenderEngines\HtmlEngine::class,
//'editor-js' => Statikbe\LaravelMailEditor\MailRenderEngines\EditorJsEngine::class,
],
/*
|--------------------------------------------------------------------------
| Base Mail Class
|--------------------------------------------------------------------------
|
| It is possible to provide your own BaseMail class
| for custom implementations.
|
*/
'base_mail' => \Statikbe\LaravelMailEditor\BaseMail::class,
];