function mail()
								
								Jump to navigation
				Jump to search
									
								
							
		Send SMTP mail. Don't forget to set SMTP server in Settings → E-mail in Netio web interface.
nil mail(stringrecipient, stringsubject, stringbody)
Parameters
- string recipient- e-mail address of the recipient (To)
- string subjectsubject of the e-mail
- string bodybody of the e-mail
Return value
nil
Usage
-- sends HTTP GET request
mail("johndoe@example.com","Socket S0732 warning","Warning: S0732 consumption exceeded 10kWh.")
