Simple wrapper around luasoket smtp.send
Lua CSS
Switch branches/tags
Pull request Compare This branch is 1 commit ahead, 26 commits behind moteus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake
docs
lua
rockspecs
CMakeLists.txt
LICENCE.txt
README.md
dist.info
sendmail.ldoc

README.md

lua-sendmail

Simple wrapper around luasoket smtp.send.
See documentation. ##Usage

local sendmail = require "sendmail"
local from, to, server = 'from@some.mail', 'to@some.mail', '127.0.0.1'

sendmail(from, to, server, {"Subject", [[
  This is mail body.
]],
  file = {
    name = 'message.txt';
    data = 'file content';
  };
})

##Dependences##

Bitdeli Badge