Click or drag to resize

QueuedMail Class

This class models a email that has been queued for sending, these is saved in tblmailqueue.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelMail
    Omada.OE.ModelQueuedMail

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

The QueuedMail type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAttachments
Attachments
Public propertyBcc
Bcc
Public propertyCC (Inherited from Mail.)
Public propertyCreateTime
CreateTime
Public propertyDataObjectId
Can state the dataobject this email relates to, if any. Not all emaisl are related to dataobjects, for that reason DataObjectId can be 0
(Inherited from Mail.)
Public propertyDataObjectVersionId
Can state the dataobjectversion this email relates to, if any. Not all mails relates to dataobjectversions, for that reason DataObjectVersionId can be 0.
(Inherited from Mail.)
Public propertyEventDefinitionId
States the eventdefinition that the email is created upen, if any Not all emails are created using a eventdefinition, for that reason EventdefinitionId can be 0
(Inherited from Mail.)
Public propertyFrom
Contains the sender of the email
(Inherited from Mail.)
Public propertyId
Id
Public propertyLogMailSent
LogMailSent
Public propertyMessage (Inherited from Mail.)
Public propertyPriority
Mail Priority as defined on the MailTemplate
(Inherited from Mail.)
Public propertyRetryCount
RetryCount
Public propertySubject (Inherited from Mail.)
Public propertyTo (Inherited from Mail.)
Public propertyToUserId
States the userid for the reciever of the email Can be 0 because the reciever is not necessarily a user in the system
(Inherited from Mail.)
Public propertyType (Inherited from Mail.)
Top
Methods
  NameDescription
Public methodClone Obsolete.
Clone QueuedMail using MemberwiseClone()
Public methodGetId Obsolete.
Returns Id
Public methodToMailMessage
Returns System.Net.Mail.MailMessage from QueuedMail
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
See Also