sample_config.lua

Thu, 19 Jan 2012 22:47:29 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 19 Jan 2012 22:47:29 +0000
changeset 0
a4670b074c77
permissions
-rw-r--r--

Initial commit

0
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 config = {
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 from_name = "Mr Email Sender";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 from_address = "hi@example.com";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 subject = "An example email";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 template = [[
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 Hi $name!
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 $content
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 Goodbye,
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 Mr E. Sender
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 ]];
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 smtp_username = "user";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15 smtp_password = "pass";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 smtp_server = "smtp.sendgrid.net";
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 smtp_port = 587;
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 }
a4670b074c77 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19

mercurial