summaryrefslogtreecommitdiff
path: root/email_gateway.cfg
blob: 31a3691d190af91a379472d2889f64e1b9af470b (plain)
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
; =====================
; Example Configuration
; =====================
; [form-key]
; to = you@example.com
; subject = My awesome contact form
; from = Contact Form <noreply@example.com>
; message = First line of the message
; redirect = /contact-thanks.html
; site = http://(?:www\.)?example.com

; ======================
; Required Configuration
; ======================
; INI section is the form key to be passed by the form
;
; These must all be specified in some form or the app breaks
;
; to -- Email address (comma separated list) to receive the email
; subject -- Email subject
; from -- Email sent from email
; message -- Static message subject
; redirect -- URL to redirect to
; site -- Regex to match against referrer header

; ===================
; Special Form Fields
; ===================
; mailer.form-key -- Form key from config file
; mailer.redirect -- Target for a redirect
; mailer.fields.ignore -- Ignored fields
; mailer.labels.* -- Labels for form fields

; mailer.fields.message -- Message field
; mailer.fields.subject -- Subject field

; mailer.subject -- Subject of message
; mailer.message -- Message