Almost ready for beta3

This commit is contained in:
Diego Nehab 2004-11-27 07:58:04 +00:00
parent eb0fc857dd
commit 7c97e8e40a
26 changed files with 310 additions and 190 deletions

View file

@ -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>",