From 93eef5015e0dfe8d24071dd036f9a7f02160abeb Mon Sep 17 00:00:00 2001
From: Thijs Schreijer
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: