Take a look at priv/elarm_mailer.app.dev
for a configuration example.
make devrun
will start up the application with the settings copied over from priv/elarm_mailer.app.dev
.
make test-deps test
will run the automated tests.
{env,[{sender, "[email protected]"},
{recipients, ["[email protected]", "[email protected]]},
{gen_smtp_options,
[{relay, "mail.example.com"},
{username, "[email protected]"},
{password, "foobar123"},
{port, 25}]},
{subscribed_alarms,
[one_potato, two_potato]}
]},
Email formatting -- currently the email body is just a bunch of Erlang terms.