TDMailConditions Object
Services for managing automatic mail notifications.

Automatic mail notification is sent when a defect changes and there is a mail condition defined for the change.
A condition consists of two parameters:

  • Mail recipient - specifies who will be receiving the notification
  • Defect matching rule - a filter string, generally a TDFilter.Text

There are two ways to specify a mail recipient: direct and indirect.
To specify a recipient directly, use the  user name.
To specify a recipient indirectly, use the  name of field that holds the user name. Indirect recipient specifications can only use the Detected By (BG_DETECTED_BY) and Assigned To (BG_RESPONSIBLE) fields.

The TDMailConditions object for the connection is TDConnection.MailConditions.

Public Methods
Public Method CloseCloses and updates Mail Condition.
Public Method DeleteConditionDeletes the Mail Condition.
Public Method LoadLoads Mail Conditions.
Public Method LockObjectLocks the object. Returns True if the object has been changed on the server.
Public Method UnLockObjectUnlocks the object.
Public Properties
Public Property ConditionThe defect-matching rule.
Public Property IsLockedChecks if object is locked for editing.
Public Property ItemListGets the list of Mail Condition Users.
See Also