跳到主要内容

notifications.mail.send

发送邮件

  • 请求路由: notifications.mail.send
  • 交互模型: Request Response
  • 访问限制: SPI

请求​

RSocket.rr({
"route" : "notifications.mail.send",
"args" : {
"scope" : "cbv",
"to" : "user1@aspiretop.com",
"subject" : "订单变更提醒",
"body" : "您好!您的订单内容发生了变更,请登录小程序查看详情。"
}
});

请求参数​

名称类型必须说明
scopeString否应用scope
toString是收件人邮件地址
subjectString是邮件主题
bodyString是邮件内容

返回​

是否成功发送

true