emailContact

Sends an email to the contact on the current record whose Contact Type is contactType. Uses the email address in the contact screen. Default contact is “Applicant”.

Version

1.3

Parameters

Parameter Type Description
mSubj string Text that appears in subject line of email.
mText string Text that appears in body of email.
contactType (optional) string Contact Type that email is sent to. Default is “Applicant”.

Example

inspResult.equals("Passed") ^ emailContact("Inspection Results", "Your inspection " + inspType + " has passed.", "Contractor")