aboutsummaryrefslogtreecommitdiff
path: root/docs/smtp.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smtp.html')
-rw-r--r--docs/smtp.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/smtp.html b/docs/smtp.html
index 787d0b1..23e3184 100644
--- a/docs/smtp.html
+++ b/docs/smtp.html
@@ -57,7 +57,7 @@ of the MIME standard, but described mainly
57in <a href="http://www.ietf.org/rfc/rfc2046.txt">RFC 2046</a>.</p> 57in <a href="http://www.ietf.org/rfc/rfc2046.txt">RFC 2046</a>.</p>
58 58
59<p> In the description below, good understanding of <a 59<p> In the description below, good understanding of <a
60href="http://lua-users.org/wiki/FiltersSourcesAndSinks"> LTN012, Filters 60href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md"> LTN012, Filters
61sources and sinks</a> and the <a href="mime.html">MIME</a> module is 61sources and sinks</a> and the <a href="mime.html">MIME</a> module is
62assumed. In fact, the SMTP module was the main reason for their 62assumed. In fact, the SMTP module was the main reason for their
63creation. </p> 63creation. </p>
@@ -122,7 +122,7 @@ smtp.<b>message(</b>mesgt<b>)</b>
122 122
123<p class="description"> 123<p class="description">
124Returns a <em>simple</em> 124Returns a <em>simple</em>
125<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> source that sends an SMTP message body, possibly multipart (arbitrarily deep). 125<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a> source that sends an SMTP message body, possibly multipart (arbitrarily deep).
126</p> 126</p>
127 127
128<p class="parameters"> 128<p class="parameters">
@@ -155,7 +155,7 @@ multipart-mesgt = {<br>
155For a simple message, all that is needed is a set of <tt>headers</tt> 155For a simple message, all that is needed is a set of <tt>headers</tt>
156and the <tt>body</tt>. The message <tt>body</tt> can be given as a string 156and the <tt>body</tt>. The message <tt>body</tt> can be given as a string
157or as a <em>simple</em> 157or as a <em>simple</em>
158<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> 158<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a>
159source. For multipart messages, the body is a table that 159source. For multipart messages, the body is a table that
160recursively defines each part as an independent message, plus an optional 160recursively defines each part as an independent message, plus an optional
161<tt>preamble</tt> and <tt>epilogue</tt>. 161<tt>preamble</tt> and <tt>epilogue</tt>.
@@ -163,7 +163,7 @@ recursively defines each part as an independent message, plus an optional
163 163
164<p class="return"> 164<p class="return">
165The function returns a <em>simple</em> 165The function returns a <em>simple</em>
166<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> 166<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a>
167source that produces the 167source that produces the
168message contents as defined by <tt>mesgt</tt>, chunk by chunk. 168message contents as defined by <tt>mesgt</tt>, chunk by chunk.
169Hopefully, the following 169Hopefully, the following
@@ -264,7 +264,7 @@ The sender is given by the e-mail address in the <tt>from</tt> field.
264address, or a string 264address, or a string
265in case there is just one recipient. 265in case there is just one recipient.
266The contents of the message are given by a <em>simple</em> 266The contents of the message are given by a <em>simple</em>
267<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> 267<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a>
268<tt>source</tt>. Several arguments are optional: 268<tt>source</tt>. Several arguments are optional:
269</p> 269</p>
270<ul> 270<ul>
@@ -276,7 +276,7 @@ methods if supported by the server (both are unsafe);</li>
276<li> <tt>domain</tt>: Domain name used to greet the server; Defaults to the 276<li> <tt>domain</tt>: Domain name used to greet the server; Defaults to the
277local machine host name;</li> 277local machine host name;</li>
278<li> <tt>step</tt>: 278<li> <tt>step</tt>:
279<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> 279<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a>
280pump step function used to pass data from the 280pump step function used to pass data from the
281source to the server. Defaults to the LTN12 <tt>pump.step</tt> function;</li> 281source to the server. Defaults to the LTN12 <tt>pump.step</tt> function;</li>
282<li><tt>create</tt>: An optional function to be used instead of 282<li><tt>create</tt>: An optional function to be used instead of
@@ -308,7 +308,7 @@ Only recipients specified in the <tt>rcpt</tt> list will receive a copy of the
308message. Each recipient of an SMTP mail message receives a copy of the 308message. Each recipient of an SMTP mail message receives a copy of the
309message body along with the headers, and nothing more. The headers 309message body along with the headers, and nothing more. The headers
310<em>are</em> part of the message and should be produced by the 310<em>are</em> part of the message and should be produced by the
311<a href="http://lua-users.org/wiki/FiltersSourcesAndSinks">LTN12</a> 311<a href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md">LTN12</a>
312<tt>source</tt> function. The <tt>rcpt</tt> list is <em>not</em> 312<tt>source</tt> function. The <tt>rcpt</tt> list is <em>not</em>
313part of the message and will not be sent to anyone. 313part of the message and will not be sent to anyone.
314</p> 314</p>