Class OutboxRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the outbox table.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class OutboxRecordData : Object
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
OutboxRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the outbox table.
Declaration
public OutboxRecordData()
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
Created
When the mail was created
Declaration
public DateTime Created
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
FromEmail
Mail address of the sender
Declaration
public string FromEmail
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
FromEnvelope
Envelope (smtp) Mail address of the sender
Declaration
public string FromEnvelope
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
LastError
The last error reported when sending this message
Declaration
public string LastError
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MailSize
The size of the mail in bytes
Declaration
public int MailSize
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
MessageId
The message.id this reference is connected to.
Declaration
public int MessageId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NextRetry
When is the next time we should try again?
Declaration
public DateTime NextRetry
Field Value
Type | Description |
---|---|
DateTime |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
OutboxId
Primary key
Declaration
public int OutboxId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Pid
The process id owning this message
Declaration
public int Pid
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rcpt
A list of recipience
Declaration
public string Rcpt
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Retries
The number of times we have tried to send this mail
Declaration
public int Retries
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Rfc822Content
The content of the outgoing email as a string. Alternative to using outbox file
Declaration
public string Rfc822Content
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Status
Status enum
Declaration
public int Status
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Subject
Subject of the mail
Declaration
public string Subject
Field Value
Type | Description |
---|---|
String |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
TicketId
The ticket.id this reference is connected to.
Declaration
public int TicketId
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Type
Indicates if this is a SMS to be sent via WebServices or a normal email. 0 = email, 1 = sms
Declaration
public short Type
Field Value
Type | Description |
---|---|
Int16 |
Remarks
Please use this class instead of a full OutboxRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding OutboxTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.