Show / Hide Table of Contents

Class OutboxRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the outbox table.

Inheritance
object
OutboxRecordData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class 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.

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
int
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
int
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
int
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
int
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
int
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
int
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
int
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
short
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.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
OutboxRecordDataExtensions.ToInsertAsync(OutboxRecordData, CancellationToken)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top