forked from getgrav/grav-plugin-email
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprints.yaml
181 lines (159 loc) · 3.6 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
name: Email
version: 2.7.1
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
dependencies:
- { name: grav, version: '>=1.1.9' }
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
content_type:
type: select
label: Content type
size: medium
default: 'text/html'
options:
'text/plain': Plain text
'text/html': HTML
charset:
type: text
size: medium
label: Charset
placeholder: "Defaults to UTF-8"
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"
multiple: true
validate:
required: true
type: email
to_name:
type: text
size: medium
label: Email to name
placeholder: "Default email to name"
cc:
type: email
size: medium
label: Email CC
placeholder: "Default email CC address"
multiple: true
validate:
type: email
cc_name:
type: text
size: medium
label: Email CC name
placeholder: "Default email CC name"
bcc:
type: email
size: medium
label: Email BCC
placeholder: "Default email BCC address"
multiple: true
validate:
type: email
reply_to:
type: email
size: medium
label: Email reply-to
placeholder: "Default email reply-to address"
multiple: true
validate:
type: email
reply_to_name:
type: text
size: medium
label: Email reply-to name
placeholder: "Default email reply-to name"
body:
type: textarea
size: medium
label: Email body
placeholder: "Defaults to a table of all form fields"
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