数据表:T_BAS_MAILSERVER(邮件服务器)

T_BAS_MAILSERVER(邮件服务器):描述

名称

T_BAS_MAILSERVER(邮件服务器)

代码

T_BAS_MAILSERVER

注释

设置邮件服务器地址、类型、端口号

模型

BOS

主键

Key_1


T_BAS_MAILSERVER(邮件服务器):列规格定义

名称

代码

数据类型

长度

强制

注释

FID

FID

int

 

TRUE

 

服务器地址

FMailServer

varchar(100)

100

TRUE

如:mail.163.com

邮件类型

FMessageType

char(1)

1

TRUE

1: pop3
2: IMAP
3. HTTP

SMTP端口号

FSMTPPORT

int

 

TRUE

 

是否要求加密连接

FSSL

char(1)

1

TRUE

0:false
1:true

加密连接类型

FSSLType

char(1)

1

TRUE

0:无
1:SSL
2:TLS
3:自动


T_BAS_MAILSERVER(邮件服务器):脚本代码

if exists (select 1
from sysindexes
where id = object_id('T_BAS_MAILSERVER')
and name = 'idx_bas_mailserver_FServer'
and indid > 0
and indid < 255)
drop index T_BAS_MAILSERVER.idx_bas_mailserver_FServer
go

if exists (select 1
from sysobjects
where id = object_id('T_BAS_MAILSERVER')
and type = 'U')
drop table T_BAS_MAILSERVER
go

/*==============================================================*/
/* Table: T_BAS_MAILSERVER */
/*==============================================================*/
create table T_BAS_MAILSERVER (
FID int not null,
FMailServer varchar(100) not null,
FMessageType char(1) not null,
FSMTPPORT int not null,
FSSL char(1) not null default '0',
FSSLType char(1) not null default '0',
constraint PK_BAS_MAILSERVER primary key (FID)
)
go

/*==============================================================*/
/* Index: idx_bas_mailserver_FServer */
/*==============================================================*/
create unique index idx_bas_mailserver_FServer on T_BAS_MAILSERVER (
FMailServer ASC
)
go


T_BAS_MAILSERVER(邮件服务器):键值定义

名称

代码

主要的

Key_1

Key_1

TRUE


T_BAS_MAILSERVER(邮件服务器):索引定义

名称

代码

唯一的

群集器

主要的

外键

候选键

表格

idx_bas_mailserver_FServer

idx_bas_mailserver_FServer

TRUE

FALSE

FALSE

FALSE

FALSE

T_BAS_MAILSERVER(邮件服务器)