Click or drag to resize

MailDefinition Class

The maildefinition is a part of an action (The type ActionType.SendEmail). It contains information about, who the email is send to and which mailtemplate that is used
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelMailDefinition

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class MailDefinition : IObjectWithId, 
	ICloneable

The MailDefinition type exposes the following members.

Constructors
  NameDescription
Public methodMailDefinition
Top
Properties
  NameDescription
Public propertyActionId
Public propertyChannel
MailChannel
Public propertyReceiver
Depending on ReceiverType Receiver contains either: * Null (ReceiverType.ObjectCreator, ReceiverType.Assignee) * A UserGroupId (int) (ReceiverType.UserGroup) * A PropertyId (int) (ReceiverType.UserProperty, ReceiverType.EmailProperty) * A string (ReceiverType.EmailAddress) * A string with referencepath(s) (one per line) which will evaluate to users (ReceiverType.ReferencePaths)
Public propertyReceiverReferencePaths
List of reference paths which evaluates to users, identitites or user groups. Can only be used if ReceiverType = ReferencePaths.
Public propertyReceiverType
The type of reciever the MailDefinition is targeting
Public propertyTemplateId
Contains a MailTemplateId.
Top
Methods
  NameDescription
Public methodClone
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Top
See Also