gen_smtpc
- is very simple smtp client for erlang.
Add gen_smtpc
to your rebar.config
:
%% Dependencies
{deps, [
{gen_smtpc, "*", {git, "git://github.com/0xAX/gen_smtpc.git", "master"}}
]
}.
And send mail from your erlang
application:
application:start(gen_smtpc),
Options = [{use_ssl, true}, {host, "smtp.gmail.com"}, {port, 465}]),
gen_smtpc:send({"[email protected]", "password"}, "[email protected]", "Subject", "Mail body", Options).
- Fork gen_smtpc
- Make changes
- Send pull request
Apache License Version 2.0.