SendEMail
Sends an email.
Syntax
bool SendEMail ()Parameters
None.Returns
False, if the rule does not include a previous SetRecipients action, or if the email cannot be sent. Otherwise, True. If the email cannot be sent, the batch is set to abort.Level
All levels.Details
Sends an email that is assembled by previous actions. Typically, this is the final action in an email rule set. At a minimum, the SetSender and SetRecipients actions must be called before sending an email.After the email is sent, this action will discard the contents of the email in memory. Calls to the email actions after SendEMail causes the creation of a new email message.
- Example:
SetSender("paul@adomain.com") SetRecipients("lisa@adomain.com,beth@adomain.com") SetSubject("Document Integrity") SetEMailBody("Document Page Types and counts are accurate. Thanks for your help.") SendEMail()