Table of Contents

Class EmailArchitectVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Email Architect, EAGetMail POP3/IMAP4 Component. EAGetMail Service is an advanced service which can download emails from POP3/IMAP4/Exchange servers (WebDAV, Web Service) in background. It provides many features such as retrieving and saving emails to specified folders in schedule, and starting a specified application to handle downloaded emails. This class refers to the VO.

[AttTable("EmailArchitect", 20230211)]
[AttTableTarget(DBTarget.Home)]
[AttTableVOInfo(typeof(EmailArchitectAttInfo))]
[AttTableGama(Gamas.Advanced)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class EmailArchitectVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EmailArchitectVO

Properties

AgentGroupVO

[AttExternalCollection(typeof(AgentGroupVO), new string[] { "[EmailArchitect].[agentgroupstamp]", "agentgroupstamp" })]
public AgentGroupVO AgentGroupVO { get; }

Property Value

AgentGroupVO

AgentVO

[AttExternalCollection(typeof(AgentVO), new string[] { "[EmailArchitect].[agentstamp]", "[Agent].[agentstamp]" })]
public AgentVO AgentVO { get; }

Property Value

AgentVO

accessToken

public string accessToken { get; set; }

Property Value

string

agentGroupName

[AttVirtualField]
public string agentGroupName { get; set; }

Property Value

string

agentName

[AttVirtualField]
public string agentName { get; set; }

Property Value

string

agentgroupstamp

[AttLenght(25)]
[AttForeignKey(typeof(AgentGroupVO), HiddenField = false)]
public string agentgroupstamp { get; set; }

Property Value

string

agentstamp

This is the field to connect with agent table

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(AgentVO), HiddenField = false)]
public string agentstamp { get; set; }

Property Value

string

authenticated

authenticated

field showing the connection status

public bool authenticated { get; set; }

Property Value

bool

deleteEmail

public bool deleteEmail { get; set; }

Property Value

bool

description

Description

[AttLenght(30)]
[AttLogInfo(0)]
[AttList]
[AttMandatory]
public string description { get; set; }

Property Value

string

email

This field is used to indicate the email used for connection to the inbox

[AttLenght(60)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.email)]
[AttList]
[AttMandatory]
public string email { get; set; }

Property Value

string

emailProvider

This field is used to to indicate the type of email used as provider

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public EmailProviderTypes emailProvider { get; set; }

Property Value

EmailProviderTypes

emailarchitectstamp

This field uniquely identifies the record (primary key by default)

[AttLenght(25)]
public string emailarchitectstamp { get; set; }

Property Value

string

inactive

inactive

field showing the register status

public bool inactive { get; set; }

Property Value

bool

oauthTime

public string oauthTime { get; set; }

Property Value

string

paraAgendamento

inactive

field showing the register status

public bool paraAgendamento { get; set; }

Property Value

bool

readEmail

public bool readEmail { get; set; }

Property Value

bool

refreshToken

public string refreshToken { get; set; }

Property Value

string

sendPort

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string sendPort { get; set; }

Property Value

string

sendServer

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string sendServer { get; set; }

Property Value

string

spamEmail

[AttCollection(typeof(SpamEmailVO))]
public List<SpamEmailVO> spamEmail { get; set; }

Property Value

List<SpamEmailVO>

userEmail

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string userEmail { get; set; }

Property Value

string

userPassword

[AttFieldType(AttFieldType.InputTypes.password)]
[AttLenght(100)]
public string userPassword { get; set; }

Property Value

string