Skip to content

Instantly share code, notes, and snippets.

export default {
async email(message, env, ctx) {
// 1. 配置
const FORWARD_TO = "your_real_email@gmail.com";
// 2. 基础信息
const subject = message.headers.get("subject") || "无主题";
const from = message.from;
// 3. 获取并“清洗”数据