The Email library allows creation of Emails directly from the Control Script component.
Email Parameters Table |
|
---|---|
Name |
Type/Notes |
From |
string |
Subject |
string |
Body |
string |
To |
array of strings |
CC |
array of strings |
Server |
string |
Password |
string |
UseSsl |
string |
EventHandler |
function to call with status, signature is 'function( table, error ),' where 'table' is the table passed into Send and 'error' is a string (if error occurred) or nil. |
Email.Send { To = { "somebody@somecompany.com" }, From = "myemail@mycompany.com", Subject = "the date should be correct...", Body = "just testing email out, will this work??", EventHandler = function(t, err) if err then print( "ERROR", err ) else print( "ALL GOOD!" ) end end, Server = "smtp.mycompany.com", Password = "XXXXXXX" } |
Software and Firmware | Resources | QSC Self Help Portal | Q-SYS Help Feedback
Copyright © 2019 QSC, LLC. Click here for trademark and other legal notices. |