flow-doc-deleted/op/Notification.md

21 lines
329 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Notification
通知
## 发送电子邮件
`sendEmail(to, title, content)`
参数说明:
* to对方的 email 地址
* title邮件标题
* content邮件内容
``` js
const onSyncTask = async (config, env, op, eventData) => {
op.notification.sendEmail('<to@email.com>', '<mail_title>', 'mail_content');
};
```