Skip to content

OtpChatBot/gen_smtpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gen_smtpc

gen_smtpc - is very simple smtp client for erlang.

Usage

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).

Contribute

  • Fork gen_smtpc
  • Make changes
  • Send pull request

Author

@0xAX

License

Apache License Version 2.0.

Releases

No releases published

Packages

No packages published

Languages