Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blinkov/lager_smtp

SMTP backend for lager
https://github.com/blinkov/lager_smtp

Last synced: 24 days ago
JSON representation

SMTP backend for lager

Awesome Lists containing this project

README

        

Overview
==========

This is a SMTP backend for [Lager](https://github.com/basho/lager).
It allows you to send email messages out of lager via SMTP server.

Configuration
==========
This backend is configured using proplist with contents similar to the following example:

{lager_smtp_backend, [
{level, error},
{to, [<<"[email protected]">>]},
{relay, <<"smtp.example.com">>},
{username, <<"[email protected]">>},
{password, <<"secret_password">>},
{port, 587},
{ssl, true},
{flush_interval, 20000}
]}

Note that **to** is a list of recipients, that is mandatory.
Optional arguments are only **level**, **port** and **ssl**, example shows defaults.