forked from getgrav/grav-plugin-email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
127 lines (113 loc) · 2.53 KB
/
blueprints.yaml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
name: Email
version: 2.2.0
description: Enables the emailing system for Grav
icon: envelope
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
keywords: plugin, email, sender
homepage: https://github.com/getgrav/grav-plugin-email
bugs: https://github.com/getgrav/grav-plugin-email/issues
license: MIT
form:
validation: loose
fields:
enabled:
type: hidden
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
mailer.engine:
type: select
label: Mail Engine
size: medium
options:
none: Disabled
smtp: SMTP
sendmail: Sendmail
mail: PHP Mail
content_type:
type: select
label: Content type
size: medium
default: 'text/html'
options:
'text/plain': Plain text
'text/html': HTML
from:
type: email
size: medium
label: Email from
placeholder: "Default email from address"
validate:
required: true
type: email
from_name:
type: text
size: medium
label: Email from name
placeholder: "Default email from name"
to:
type: email
size: medium
label: Email to
placeholder: "Default email to address"
validate:
required: true
type: email
to_name:
type: text
size: medium
label: Email to name
placeholder: "Default email to name"
mailer.smtp.server:
type: text
size: medium
label: SMTP server
placeholder: "e.g. smtp.google.com"
mailer.smtp.port:
type: text
size: small
label: SMTP port
placeholder: "Defaults to 25 (plaintext) / 587 (encrypted)"
validate:
type: number
min: 1
max: 65535
mailer.smtp.encryption:
type: select
size: medium
label: SMTP encryption
options:
none: None
ssl: SSL
tls: TLS
mailer.smtp.user:
type: text
size: medium
label: SMTP login name
mailer.smtp.password:
type: password
size: medium
label: SMTP password
mailer.sendmail.bin:
type: text
size: medium
label: Path to sendmail
placeholder: "/usr/sbin/sendmail"
debug:
type: toggle
label: Debug
highlight: 1
default: 0
options:
true: PLUGIN_ADMIN.ENABLED
false: PLUGIN_ADMIN.DISABLED
validate:
type: bool