mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 23:47:50 +08:00
feat: doc: add mail id and url in webhook (#444)
This commit is contained in:
@@ -25,3 +25,20 @@
|
|||||||
## 某个邮箱配置 webhook
|
## 某个邮箱配置 webhook
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## webhook 数据格式
|
||||||
|
|
||||||
|
要获取 url 需要配置 worker 的 `FRONTEND_URL` 为你的前端地址,或者你可以通过 `id` 自己拼接 url = `${FRONTEND_URL}?mail_id=${id}`
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"id": "${id}",
|
||||||
|
"url": "${url}",
|
||||||
|
"from": "${from}",
|
||||||
|
"to": "${to}",
|
||||||
|
"subject": "${subject}",
|
||||||
|
"raw": "${raw}",
|
||||||
|
"parsedText": "${parsedText}",
|
||||||
|
"parsedHtml": "${parsedHtml}",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user