class Client

Traits

Properties

protected $http
protected $access_token
protected $endpoint

Methods

__construct(TencentMail $app)

Client constructor.

string
mailStatus(string $domain, string $begin_date, string $end_date)

查询邮件概况.

string
mail(string $begin_date, string $end_date, int $mailtype = 0, string $userid = null, string $subject = null)

查询邮件.

string
login(string $userid, string $begin_date, string $end_date)

查询成员登录.

string
batchJob(string $begin_date, string $end_date)

查询批量任务

string
operation(int $type, string $begin_date, string $end_date)

查询操作记录.

Details

at line 28
__construct(TencentMail $app)

Client constructor.

Parameters

TencentMail $app

Exceptions

GuzzleException

at line 47
string mailStatus(string $domain, string $begin_date, string $end_date)

查询邮件概况.

Parameters

string $domain 域名
string $begin_date 开始日期。格式为2016-10-01
string $end_date 结束日期。格式为2016-10-07

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10027

at line 70
string mail(string $begin_date, string $end_date, int $mailtype = 0, string $userid = null, string $subject = null)

查询邮件.

Parameters

string $begin_date 开始日期。格式为2016-10-01
string $end_date 开始日期。格式为2016-10-07
int $mailtype 邮件类型。0:收信+发信 1:发信 2:收信
string $userid 筛选条件:指定成员帐号
string $subject 筛选条件:包含指定主题内容

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10028

at line 96
string login(string $userid, string $begin_date, string $end_date)

查询成员登录.

Parameters

string $userid 成员 UserID。企业邮帐号名,邮箱格式
string $begin_date 开始日期。格式为 2016-10-01
string $end_date 结束日期。格式为 2016-10-07

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10029

at line 116
string batchJob(string $begin_date, string $end_date)

查询批量任务

Parameters

string $begin_date 开始日期。格式为 2016-10-01
string $end_date 结束日期。格式为 2016-10-07

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10030

at line 138
string operation(int $type, string $begin_date, string $end_date)

查询操作记录.

Parameters

int $type 类型 1:all 2:开放协议同步 3:编辑管理员帐号 4:设置分级管理员 5:编辑企业信息 6:收信黑名单设置 7:邮件转移设置 8:成员与群组管理 9:邮件备份管理 10:成员权限控制
string $begin_date 开始日期。格式为 2016-10-01
string $end_date 结束日期。格式为 2016-10-07

Return Value

string

Exceptions

TencentMailException

See also

https://exmail.qq.com/qy_mng_logic/doc#10031