summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tasklib.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasklib.lua b/lib/tasklib.lua
index 764750b..fda990c 100644
--- a/lib/tasklib.lua
+++ b/lib/tasklib.lua
@@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: tasklib.lua,v 1.4 2007-06-17 15:24:44 pixel Exp $ */
+/* $Id: tasklib.lua,v 1.5 2007-10-15 13:46:33 pixel Exp $ */
]]--
@@ -38,6 +38,10 @@ function HttpClient(url, headers, vars)
return coroutine.yield("HttpClient", url, headers, vars)
end
+function MailClient(smtp, subject, from, headers, tos, ccs, bccs, fakes, body)
+ return coroutine.yield("MailClient", smtp, subject, from, headers, tos, ccs, bccs, fakes, body)
+end
+
function Command(command, ...)
return coroutine.yield("Command", command, unpack(arg))
end