More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Email_and_SMS_Functions]] | [[Category:Email_and_SMS_Functions]] | ||
=sendEmail= | |||
Sends an email. '''This function requires the Qnaire context'''. | Sends an email. '''This function requires the Qnaire context'''. |
Revision as of 17:08, 14 September 2012
sendEmail
Sends an email. This function requires the Qnaire context.
(Note: all emails can be tracked in the communicator module)
Syntax
sendEmail(email, alias, subject, body[,fromemail])
Arguments
email: Is an expression of string type. It is the receiver’s email address.
alias: Is an expression of string type. It is the receiver’s alias name.
subject: Is an expression of string type. This is the email’s subject.
body: Is an expression of string type. This is the email’s content.
fromemail: Is an expression of string type. This is the From email’s address.
Return type
empty
Examples
sendEmail(“[email protected]”, "somebody", "test", "This is a test");
or
sendEmail("[email protected]", "somebody", "test", "This is a test","[email protected]");