Final push for release...
This commit is contained in:
parent
37f7af4b9f
commit
0c3cdd5ef2
31 changed files with 332 additions and 255 deletions
|
@ -48,18 +48,19 @@ source = smtp.message{
|
|||
}
|
||||
}
|
||||
|
||||
--[[
|
||||
sink = ltn12.sink.file(io.stdout)
|
||||
ltn12.pump.all(source, sink)
|
||||
]]
|
||||
function filter(s)
|
||||
if s then io.write(s) end
|
||||
return s
|
||||
end
|
||||
|
||||
-- finally send it
|
||||
r, e = smtp.send{
|
||||
rcpt = {"<diego@tecgraf.puc-rio.br>",
|
||||
"<diego@princeton.edu>" },
|
||||
from = "<diego@princeton.edu>",
|
||||
source = source,
|
||||
server = "mail.cs.princeton.edu"
|
||||
source = ltn12.source.chain(source, filter),
|
||||
--server = "mail.cs.princeton.edu"
|
||||
server = "localhost",
|
||||
port = 2525
|
||||
}
|
||||
|
||||
print(r, e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue