From 93eef5015e0dfe8d24071dd036f9a7f02160abeb Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Fri, 15 Mar 2024 12:55:02 +0100 Subject: chore(docs): update LTN12 links (#428) --- docs/smtp.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/smtp.html') 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 in RFC 2046.

In the description below, good understanding of LTN012, Filters +href="https://github.com/lunarmodules/luasocket/blob/master/ltn012.md"> LTN012, Filters sources and sinks and the MIME module is assumed. In fact, the SMTP module was the main reason for their creation.

@@ -122,7 +122,7 @@ smtp.message(mesgt)

Returns a simple -LTN12 source that sends an SMTP message body, possibly multipart (arbitrarily deep). +LTN12 source that sends an SMTP message body, possibly multipart (arbitrarily deep).

@@ -155,7 +155,7 @@ multipart-mesgt = {
For a simple message, all that is needed is a set of headers and the body. The message body can be given as a string or as a simple -LTN12 +LTN12 source. For multipart messages, the body is a table that recursively defines each part as an independent message, plus an optional preamble and epilogue. @@ -163,7 +163,7 @@ recursively defines each part as an independent message, plus an optional

The function returns a simple -LTN12 +LTN12 source that produces the message contents as defined by mesgt, chunk by chunk. Hopefully, the following @@ -264,7 +264,7 @@ The sender is given by the e-mail address in the from field. address, or a string in case there is just one recipient. The contents of the message are given by a simple -LTN12 +LTN12 source. Several arguments are optional: