summaryrefslogtreecommitdiff
path: root/email_gateway.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'email_gateway.cfg')
-rw-r--r--email_gateway.cfg38
1 files changed, 38 insertions, 0 deletions
diff --git a/email_gateway.cfg b/email_gateway.cfg
new file mode 100644
index 0000000..31a3691
--- /dev/null
+++ b/email_gateway.cfg
@@ -0,0 +1,38 @@
1; =====================
2; Example Configuration
3; =====================
4; [form-key]
5; to = you@example.com
6; subject = My awesome contact form
7; from = Contact Form <noreply@example.com>
8; message = First line of the message
9; redirect = /contact-thanks.html
10; site = http://(?:www\.)?example.com
11
12; ======================
13; Required Configuration
14; ======================
15; INI section is the form key to be passed by the form
16;
17; These must all be specified in some form or the app breaks
18;
19; to -- Email address (comma separated list) to receive the email
20; subject -- Email subject
21; from -- Email sent from email
22; message -- Static message subject
23; redirect -- URL to redirect to
24; site -- Regex to match against referrer header
25
26; ===================
27; Special Form Fields
28; ===================
29; mailer.form-key -- Form key from config file
30; mailer.redirect -- Target for a redirect
31; mailer.fields.ignore -- Ignored fields
32; mailer.labels.* -- Labels for form fields
33
34; mailer.fields.message -- Message field
35; mailer.fields.subject -- Subject field
36
37; mailer.subject -- Subject of message
38; mailer.message -- Message