function mail()

From wiki.netio-products.com
Revision as of 14:48, 18 April 2017 by Jturon (talk | contribs) (Založena nová stránka s textem „{{DISPLAYTITLE:function mail()}} Send SMTP mail. <i>nil</i> mail(string <u>recipient</u>, string <u>subject</u>, string <u>body</u>) === Parameters ===…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Send SMTP mail.

nil mail(string recipient, string subject, string body)

Parameters

string recipient - e-mail address of the recipient (To)
string subject subject of the e-mail
string body body of the e-mail

Return value

nil

Usage

-- sends HTTP GET request
devices.system.CustomCGI{url="http://192.168.0.1/handler.cgi?outlet=1&state=0"}