Sends a mail item when rule conditions are met.
AFTKN_RULE_ACT_SENDMAIL or 653
VOID RuleAddActionSendMail( [ANSISTRING UserID];
[ANSISTRING RuleName];
[ANSISTRING To];
[ANSISTRING CC];
[ANSISTRING BC];
[ANSISTRING Subject];
[ANSISTRING Files];
[ANSISTRING Message];
[ANSISTRING From];
[ANSISTRING ViewName])
(Optional)
Name of the rule to add the action to.
Recipient user ID. (Optional)
User ID of the person to receive a copy of the item. (Optional)
User ID of the person to receive a blind copy of the item. (Optional)
(Optional) Subject for the sent item.
Separate multiple attachments with a comma. (Optional)
(Optional) Message for the sent item.
Name of person replying to the item. (Optional)
Name of a mail view—such as "Mail"— or the name of a custom mail view. (Optional)