mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-08-28 19:48:01 +08:00
release v0.7.2 (#408)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
# 配置 Telegram Bot
|
||||
|
||||
## Telegram Bot 配置
|
||||
|
||||
> [!NOTE]
|
||||
> 如果要使用 Telegram Bot, 请先绑定 `KV`
|
||||
>
|
||||
> 如果不需要 Telegram Bot, 可跳过此步骤
|
||||
|
||||
## Telegram Bot 配置
|
||||
|
||||
请先创建一个 Telegram Bot,然后获取 `token`,然后执行下面的命令,将 `token` 添加到 secrets 中
|
||||
|
||||
你也可以在 Cloudflare 的 UI 界面中添加 `secrets`
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# 配置 webhook
|
||||
|
||||
> [!NOTE]
|
||||
> 如果要使用 webhook,请先绑定 `KV`
|
||||
>
|
||||
> 如果你想 webhook 的解析邮件能力更强,参考 [配置 worker 使用 wasm 解析邮件](feature/mail_parser_wasm_worker)
|
||||
|
||||
## 前提条件
|
||||
|
||||
你需要自建一个 `webhook 服务` 或者 使用 `第三方平台`,这个服务需要能够接收 `POST` 请求,并且能够解析 `json` 数据。
|
||||
|
||||
本项目使用了 [songquanpeng/message-pusher](https://github.com/songquanpeng/message-pusher) 示例作为 webhook 服务。
|
||||
|
||||
- 可以使用 [msgpusher.com](https://msgpusher.com) 提供的服务
|
||||
- 也可以自建 `message-pusher` 服务,参考 [songquanpeng/message-pusher](https://github.com/songquanpeng/message-pusher)
|
||||
|
||||
## admin 配置全局 webhook
|
||||
|
||||

|
||||
|
||||
## admin 允许邮箱使用 webhook
|
||||
|
||||

|
||||
|
||||
## 某个邮箱配置 webhook
|
||||
|
||||

|
||||
Reference in New Issue
Block a user