Show / Hide Table of Contents

Class OutboxTableInfo

Table 'outbox': Outgoing emails with sending status and other info

Inheritance
Object
TableInfo
OutboxTableInfo
Implements
ICloneable
Inherited Members
TableInfo.ToString()
TableInfo.RegisterFields(FieldInfo[])
TableInfo.FieldInfoFromSoField(SoField)
TableInfo.Clone()
TableInfo.IsSameTable(TableInfo)
TableInfo.FindField(String)
TableInfo.ProtAll
TableInfo.HashCheckFields
TableInfo.TableName
TableInfo.DbName
TableInfo.IsDictionaryTable
TableInfo.All
TableInfo.Item[String]
TableInfo.PrimaryKeyField
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Data
Assembly: SoDataBase.dll
Syntax
[DatabaseTable("outbox")]
public class OutboxTableInfo : TableInfo, ICloneable
Remarks

An instance of this class represents one instance of this table in an SQL statement. In most cases each table appears only once in a SELECT, but in cases where you need to self-join, or there are multiple occurrences for other reasons (typically additional restrictions in the joins), then you will need multiple instances.
Instances of this class are created by calling .

Fields

DictionaryTableName

Conceptual name of table Outbox in the database dictionary: outbox

Declaration
public const string DictionaryTableName = "outbox"
Field Value
Type Description
String

Properties

Created

Field 'created' in table 'outbox': Dictionary type DateTime, .NET type: DateTime

When the mail was created

Declaration
public DateTimeFieldInfo Created { get; }
Property Value
Type Description
DateTimeFieldInfo

Definition

Definition of the table as described in the deployed runtime dictionary

Declaration
public override SoTable Definition { get; }
Property Value
Type Description
SoTable
Overrides
TableInfo.Definition

DictionaryTableNumber

Table number for table Outbox in the database dictionary; potentially changes between databases, but always the same over the lifetime of any single database

Declaration
public int DictionaryTableNumber { get; }
Property Value
Type Description
Int32

FromEmail

Field 'from_email' in table 'outbox': Dictionary type String[256], .NET type: String

Mail address of the sender

Declaration
public StringFieldInfo FromEmail { get; }
Property Value
Type Description
StringFieldInfo

FromEnvelope

Field 'from_envelope' in table 'outbox': Dictionary type String[256], .NET type: String

Envelope (smtp) Mail address of the sender

Declaration
public StringFieldInfo FromEnvelope { get; }
Property Value
Type Description
StringFieldInfo

LastError

Field 'last_error' in table 'outbox': Dictionary type String[256], .NET type: String

The last error reported when sending this message

Declaration
public StringFieldInfo LastError { get; }
Property Value
Type Description
StringFieldInfo

LeftOuterJoin_Sms_OutboxId

Generated left outer join from the primary key OutboxId on this table, to Sms.OutboxId.

Declaration
public TargetedLeftOuterJoin<SmsTableInfo> LeftOuterJoin_Sms_OutboxId { get; }
Property Value
Type Description
TargetedLeftOuterJoin<SmsTableInfo>

MailSize

Field 'mail_size' in table 'outbox': Dictionary type Int, .NET type: Int32

The size of the mail in bytes

Declaration
public Int32FieldInfo MailSize { get; }
Property Value
Type Description
Int32FieldInfo

MessageId

Field 'message_id' in table 'outbox': Dictionary type FK, .NET type: Int32

The message.id this reference is connected to.

Declaration
public Int32FieldInfo MessageId { get; }
Property Value
Type Description
Int32FieldInfo

MessageId_InnerJoin_EjMessage

Generated join from the foreign key MessageId in this table, to its target table EjMessageTableInfo.

Declaration
public TargetedInnerJoin<EjMessageTableInfo> MessageId_InnerJoin_EjMessage { get; }
Property Value
Type Description
TargetedInnerJoin<EjMessageTableInfo>

NextRetry

Field 'next_retry' in table 'outbox': Dictionary type DateTime, .NET type: DateTime

When is the next time we should try again?

Declaration
public DateTimeFieldInfo NextRetry { get; }
Property Value
Type Description
DateTimeFieldInfo

OutboxId

Field 'id' in table 'outbox': Dictionary type PK, .NET type: Int32

Primary key

Declaration
public Int32FieldInfo OutboxId { get; }
Property Value
Type Description
Int32FieldInfo

Pid

Field 'pid' in table 'outbox': Dictionary type Int, .NET type: Int32

The process id owning this message

Declaration
public Int32FieldInfo Pid { get; }
Property Value
Type Description
Int32FieldInfo

Rcpt

Field 'rcpt' in table 'outbox': Dictionary type Clob, .NET type: String

A list of recipience

Declaration
public StringFieldInfo Rcpt { get; }
Property Value
Type Description
StringFieldInfo

Retries

Field 'retries' in table 'outbox': Dictionary type Int, .NET type: Int32

The number of times we have tried to send this mail

Declaration
public Int32FieldInfo Retries { get; }
Property Value
Type Description
Int32FieldInfo

Rfc822Content

Field 'rfc822_content' in table 'outbox': Dictionary type Clob, .NET type: String

The content of the outgoing email as a string. Alternative to using outbox file

Declaration
public StringFieldInfo Rfc822Content { get; }
Property Value
Type Description
StringFieldInfo

RuntimeDefinition

Definition of the table as described in the deployed runtime dictionary

Declaration
[Obsolete("Use instance property Definition or static member DictionaryTableNumber", true)]
public static SoTable RuntimeDefinition { get; }
Property Value
Type Description
SoTable

Status

Field 'status' in table 'outbox': Dictionary type Int, .NET type: Int32

Status enum

Declaration
public Int32FieldInfo Status { get; }
Property Value
Type Description
Int32FieldInfo

Subject

Field 'subject' in table 'outbox': Dictionary type String[256], .NET type: String

Subject of the mail

Declaration
public StringFieldInfo Subject { get; }
Property Value
Type Description
StringFieldInfo

TicketId

Field 'ticket_id' in table 'outbox': Dictionary type FK, .NET type: Int32

The ticket.id this reference is connected to.

Declaration
public Int32FieldInfo TicketId { get; }
Property Value
Type Description
Int32FieldInfo

TicketId_InnerJoin_Ticket

Generated join from the foreign key TicketId in this table, to its target table TicketTableInfo.

Declaration
public TargetedInnerJoin<TicketTableInfo> TicketId_InnerJoin_Ticket { get; }
Property Value
Type Description
TargetedInnerJoin<TicketTableInfo>

Type

Field 'type' in table 'outbox': Dictionary type Enum, .NET type: Int16

Indicates if this is a SMS to be sent via WebServices or a normal email. 0 = email, 1 = sms

Declaration
public UInt16FieldInfo Type { get; }
Property Value
Type Description
UInt16FieldInfo

Implements

System.ICloneable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top