More actions
No edit summary |
Cg huyphong (talk | contribs) |
||
Line 10: | Line 10: | ||
'''Syntax''' | '''Syntax''' | ||
sendEmail(''email, alias, subject, body'') | sendEmail(''email, alias, subject, body[,fromemail]'') | ||
'''Arguments''' | '''Arguments''' | ||
Line 21: | Line 21: | ||
''body:'' Is an expression of string type. This is the email’s content. | ''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''' | '''Return type''' | ||
Line 29: | Line 31: | ||
sendEmail(“[email protected]”, "somebody", "test", "This is a test"); | sendEmail(“[email protected]”, "somebody", "test", "This is a test"); | ||
or | |||
sendEmail("[email protected]", "somebody", "test", "This is a test","[email protected]"); | |||
'''Availability''' | '''Availability''' |
Revision as of 09:32, 3 February 2012
sendEmail
Sends an email to another user. If the email has merge fields, it will be merged before sending.
(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]");
Availability
Version 4.8