Difference between revisions of "Function mail()"
Jump to navigation
Jump to search
(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 ===…“) |
(→Usage) |
||
Line 14: | Line 14: | ||
=== Usage === | === Usage === | ||
-- sends HTTP GET request | -- sends HTTP GET request | ||
− | + | mail("johndoe@example.com","Socket S0732 notification","Warning: S0732 consumption exceeded 10kWh.") | |
__NOTOC__ | __NOTOC__ |
Revision as of 13:50, 18 April 2017
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 mail("johndoe@example.com","Socket S0732 notification","Warning: S0732 consumption exceeded 10kWh.")