aboutsummaryrefslogtreecommitdiff
path: root/doc/smtp.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-21 06:07:58 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-21 06:07:58 +0000
commitbce1cb30d856d167e167c4c2997f9bebe03a612c (patch)
tree8e684b912cdc9d27c5aebf593107487c94866438 /doc/smtp.html
parentf7579db9e830ef41f422a280d26c9077f48728e5 (diff)
downloadluasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.tar.gz
luasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.tar.bz2
luasocket-bce1cb30d856d167e167c4c2997f9bebe03a612c.zip
More adjustments/bugfixes.
Diffstat (limited to 'doc/smtp.html')
-rw-r--r--doc/smtp.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/smtp.html b/doc/smtp.html
index 224dde3..b975045 100644
--- a/doc/smtp.html
+++ b/doc/smtp.html
@@ -3,7 +3,9 @@
3<html> 3<html>
4 4
5<head> 5<head>
6<title>LuaSocket: Network support for the Lua language</title> 6<meta name="description" content="LuaSocket: SMTP support">
7<meta name="keywords" content="Lua, Library, SMTP, e-mail, MIME, Multipart, Support">
8<title>LuaSocket: SMTP support</title>
7<link rel="stylesheet" href="reference.css" type="text/css"> 9<link rel="stylesheet" href="reference.css" type="text/css">
8</head> 10</head>
9 11
@@ -16,7 +18,7 @@
16<center> 18<center>
17<table summary="LuaSocket logo"> 19<table summary="LuaSocket logo">
18<tr><td align=center><a href="http://www.lua.org"> 20<tr><td align=center><a href="http://www.lua.org">
19<img width=128 border=0 alt="LuaSocket" src="luasocket.png"> 21<img width=128 height=128 border=0 alt="LuaSocket" src="luasocket.png">
20</a></td></tr> 22</a></td></tr>
21<tr><td align=center valign=top>Network support for the Lua language 23<tr><td align=center valign=top>Network support for the Lua language
22</td></tr> 24</td></tr>
@@ -48,7 +50,7 @@ control (if you bother to read the code).
48Another RFC of interest is <a 50Another RFC of interest is <a
49href="http://www.cs.princeton.edu/~diego/rfc/rfc2822.txt">RFC 2822</a>, 51href="http://www.cs.princeton.edu/~diego/rfc/rfc2822.txt">RFC 2822</a>,
50which governs the Internet Message Format. 52which governs the Internet Message Format.
51Multipart messages (those that contain attatchments) are part 53Multipart messages (those that contain attachments) are part
52of the MIME standard, but described mainly 54of the MIME standard, but described mainly
53in <a href="http://www.cs.princeton.edu/~diego/rfc/rfc2046.txt">RFC 55in <a href="http://www.cs.princeton.edu/~diego/rfc/rfc2046.txt">RFC
542046</a> 562046</a>
@@ -98,7 +100,7 @@ in representing them in a Lua table.
98</p> 100</p>
99 101
100<p> 102<p>
101The following constants can be set to control the default behaviour of 103The following constants can be set to control the default behavior of
102the SMTP module: 104the SMTP module:
103</p> 105</p>
104 106
@@ -256,7 +258,7 @@ mesgt = {
256 to = "Fulano da Silva &lt;fulano@example.com&gt;", 258 to = "Fulano da Silva &lt;fulano@example.com&gt;",
257 cc = '"Beltrano F. Nunes" &lt;beltrano@example.com&gt;', 259 cc = '"Beltrano F. Nunes" &lt;beltrano@example.com&gt;',
258 subject = "My first message" 260 subject = "My first message"
259 } 261 },
260 body = "I hope this works. If it does, I can send you another 1000 copies." 262 body = "I hope this works. If it does, I can send you another 1000 copies."
261} 263}
262 264