Almost ready for beta3
This commit is contained in:
parent
eb0fc857dd
commit
7c97e8e40a
26 changed files with 310 additions and 190 deletions
|
@ -1,5 +1,5 @@
|
|||
-- load the smtp support and its friends
|
||||
local smtp = require("smtp")
|
||||
local smtp = require("socket.smtp")
|
||||
local mime = require("mime")
|
||||
local ltn12 = require("ltn12")
|
||||
|
||||
|
@ -48,6 +48,11 @@ source = smtp.message{
|
|||
}
|
||||
}
|
||||
|
||||
--[[
|
||||
sink = ltn12.sink.file(io.stdout)
|
||||
ltn12.pump.all(source, sink)
|
||||
]]
|
||||
|
||||
-- finally send it
|
||||
r, e = smtp.send{
|
||||
rcpt = {"<diego@tecgraf.puc-rio.br>",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue