ADSJob class
Arcana Scheduler Help
The MailRecipients property specifies the e-mail addresses to which notification messages will be sent for the job (when mail notification is specified for the GoodRunAction, BadRunAction, FailureAction, or KillAction properties).
This property has been replaced by the GoodRunNotificationRecipients, BadRunNotificationRecipients, FailureNotificationRecipients, and KillNotificationRecipients.
Because the Scheduler now uses four separate notification recipients instead of a single notification recipient, using this property will involve "translation" as described below. This translation will allow existing clients to work exactly as they did with previous versions of the API, so long as the new properties are not used. If the new properties are used (either by an API client or by the user in the Schedule Administrator), using this deprecated property may produce incorrect results.
Getting the value of this property will return the recipient for the first action set to use e-mail notification. (Actions are evaluated in the order they are listed at the beginning of this section.) For example, if the job has the BadRunAction and FailureAction set to use e-mail notification and all other actions set to not use e-mail notification, the MailRecipients property will return the same value as the BadRunNotificationRecipients property.
Setting the value of this property will replace the recipient value for each action set to use e-mail notification. For example, if the job is set to use e-mail notification for the BadRunAction and the KillAction, setting the MailRecipients property will be equivalent to setting the BadRunNotificationRecipients and KillNotificationRecipients properties to the same value.