aboutsummaryrefslogtreecommitdiff
path: root/test/testmesg.lua
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:07 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:07 +0000
commitd46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (patch)
treed4f7ca1e677d06446245691d5ece6dab51915f16 /test/testmesg.lua
parent843a431ef98fd541d98fd3898463985d9bfcde28 (diff)
downloadluasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.gz
luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.tar.bz2
luasocket-d46f7a09a768b146f2f3cdc9a6a50357832bd1c7.zip
Fixed smtp.lua loading.
Adjusted tftp module. Added some comments.
Diffstat (limited to 'test/testmesg.lua')
-rw-r--r--test/testmesg.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testmesg.lua b/test/testmesg.lua
index 449f4c2..3e4c28f 100644
--- a/test/testmesg.lua
+++ b/test/testmesg.lua
@@ -14,7 +14,7 @@ source = smtp.message{
14 }, 14 },
15 body = { 15 body = {
16 preamble = "If your client doesn't understand attachments, \r\n" .. 16 preamble = "If your client doesn't understand attachments, \r\n" ..
17 "it will still display the preamble and the epilogue.\r\n", 17 "it will still display the preamble and the epilogue.\r\n" ..
18 "Preamble might show up even in a MIME enabled client.", 18 "Preamble might show up even in a MIME enabled client.",
19 -- first part: No headers means plain text, us-ascii. 19 -- first part: No headers means plain text, us-ascii.
20 -- The mime.eol low-level filter normalizes end-of-line markers. 20 -- The mime.eol low-level filter normalizes end-of-line markers.
@@ -55,3 +55,5 @@ r, e = smtp.send{
55 source = source, 55 source = source,
56 server = "mail.cs.princeton.edu" 56 server = "mail.cs.princeton.edu"
57} 57}
58
59print(r, e)