diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-03-15 12:55:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 12:55:02 +0100 |
commit | 93eef5015e0dfe8d24071dd036f9a7f02160abeb (patch) | |
tree | e29da398ce6b83a71f25f574de6d0ff58f488012 /docs/smtp.html | |
parent | 23241717bf91c4317065828bedafd05ebb97c1ef (diff) | |
download | luasocket-93eef5015e0dfe8d24071dd036f9a7f02160abeb.tar.gz luasocket-93eef5015e0dfe8d24071dd036f9a7f02160abeb.tar.bz2 luasocket-93eef5015e0dfe8d24071dd036f9a7f02160abeb.zip |
chore(docs): update LTN12 links (#428)
Diffstat (limited to 'docs/smtp.html')
-rw-r--r-- | docs/smtp.html | 14 |
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 | |||
57 | in <a href="http://www.ietf.org/rfc/rfc2046.txt">RFC 2046</a>.</p> | 57 | in <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 |
60 | href="http://lua-users.org/wiki/FiltersSourcesAndSinks"> LTN012, Filters | 60 | href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md"> LTN012, Filters |
61 | sources and sinks</a> and the <a href="mime.html">MIME</a> module is | 61 | sources and sinks</a> and the <a href="mime.html">MIME</a> module is |
62 | assumed. In fact, the SMTP module was the main reason for their | 62 | assumed. In fact, the SMTP module was the main reason for their |
63 | creation. </p> | 63 | creation. </p> |
@@ -122,7 +122,7 @@ smtp.<b>message(</b>mesgt<b>)</b> | |||
122 | 122 | ||
123 | <p class="description"> | 123 | <p class="description"> |
124 | Returns a <em>simple</em> | 124 | Returns 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> | |||
155 | For a simple message, all that is needed is a set of <tt>headers</tt> | 155 | For a simple message, all that is needed is a set of <tt>headers</tt> |
156 | and the <tt>body</tt>. The message <tt>body</tt> can be given as a string | 156 | and the <tt>body</tt>. The message <tt>body</tt> can be given as a string |
157 | or as a <em>simple</em> | 157 | or 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> |
159 | source. For multipart messages, the body is a table that | 159 | source. For multipart messages, the body is a table that |
160 | recursively defines each part as an independent message, plus an optional | 160 | recursively 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"> |
165 | The function returns a <em>simple</em> | 165 | The 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> |
167 | source that produces the | 167 | source that produces the |
168 | message contents as defined by <tt>mesgt</tt>, chunk by chunk. | 168 | message contents as defined by <tt>mesgt</tt>, chunk by chunk. |
169 | Hopefully, the following | 169 | Hopefully, the following |
@@ -264,7 +264,7 @@ The sender is given by the e-mail address in the <tt>from</tt> field. | |||
264 | address, or a string | 264 | address, or a string |
265 | in case there is just one recipient. | 265 | in case there is just one recipient. |
266 | The contents of the message are given by a <em>simple</em> | 266 | The 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 |
277 | local machine host name;</li> | 277 | local 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> |
280 | pump step function used to pass data from the | 280 | pump step function used to pass data from the |
281 | source to the server. Defaults to the LTN12 <tt>pump.step</tt> function;</li> | 281 | source 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 | |||
308 | message. Each recipient of an SMTP mail message receives a copy of the | 308 | message. Each recipient of an SMTP mail message receives a copy of the |
309 | message body along with the headers, and nothing more. The headers | 309 | message 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> |
313 | part of the message and will not be sent to anyone. | 313 | part of the message and will not be sent to anyone. |
314 | </p> | 314 | </p> |