API
Component

Email ($UI/comp/email/components/email/email)

使用范围:WX

Contents

component Email ($UI/comp/email/components/email/email) extends Component

邮件组件

<b>使用场景</b>:发送邮件 <b>使用方法</b>:添加后显示在功能组件中,设置邮件相关属性.

Constructor Top

  Email ()
  Email ( config)

Methods Top

SuccessEvent send (SendParam options)

Operations Top

sendEmail (SendParam options)

Events Top

void error (ErrorEvent event)
void success (SuccessEvent event)

Constructor details Top

public Email ()

邮件组件

<b>使用场景</b>:发送邮件 <b>使用方法</b>:添加后显示在功能组件中,设置邮件相关属性.

public Email ( config)

构造函数

Inherited from Operational

Parameters

config

操作配置

Methods Detail Top

public SuccessEvent send (SendParam options)

发送邮件

Parameters

SendParam options

参数

Return Value

SuccessEvent

Operations Detail Top

public sendEmail (SendParam options)

发送邮件

Parameters

SendParam options

参数

Events Detail Top

public void error (ErrorEvent event)

请求失败

Parameters

ErrorEvent event


结构如下:

{ textStatus : 请求状态码, source : 组件自身 }

Return Value

void

public void success (SuccessEvent event)

请求成功

Parameters

SuccessEvent event


结构如下:

{ resultData : 返回数据, "statusCode" : 请求返回状态码 "header" : 请求返回头 source : 组件自身 }

Return Value

void