Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SendEmail: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Line 1: Line 1:
[[Category:Email_and_SMS_Functions]]
[[Category:Email_and_SMS_Functions]]
{{HelpFiles}}


====sendEmail====
==sendEmail==


Sends an email to another user. If the email has merge fields, it will be merged before sending.
Sends an email. '''This function requires the Qnaire context'''.


''(Note: all emails can be tracked in the communicator module)''
''(Note: all emails can be tracked in the communicator module)''


'''Syntax'''
==Syntax==


sendEmail(''email, alias, subject, body[,fromemail]'')
sendEmail(''email, alias, subject, body[,fromemail]'')


'''Arguments'''
==Arguments==


''email:'' Is an expression of string type. It is the receiver’s email address.
''email:'' Is an expression of string type. It is the receiver’s email address.
Line 24: Line 23:
''fromemail:'' Is an expression of string type. This is the From email’s address.
''fromemail:'' Is an expression of string type. This is the From email’s address.


'''Return type'''
==Return type==


empty
empty


'''Examples'''
==Examples==


sendEmail(“[email protected]”, "somebody", "test", "This is a test");
sendEmail(“[email protected]”, "somebody", "test", "This is a test");
Line 36: Line 35:
sendEmail("[email protected]", "somebody", "test", "This is a test","[email protected]");
sendEmail("[email protected]", "somebody", "test", "This is a test","[email protected]");


'''Availability'''
Version 4.8
__NOTOC__
__NOTOC__
<!-- imported from file: 575.htm-->

Revision as of 17:07, 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]");