Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/blinkov/lager_smtp
- Owner: blinkov
- License: gpl-3.0
- Created: 2012-05-24T12:26:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-08T23:01:07.000Z (almost 12 years ago)
- Last Synced: 2024-08-04T00:05:20.210Z (3 months ago)
- Language: Erlang
- Size: 208 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-erlang - lager_smtp - SMTP backend for lager. (Logging)
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.