Skip to content

Instantly share code, notes, and snippets.

@Nrzll
Nrzll / worker.js
Created January 15, 2026 00:20 — forked from dsdfsgfdgsd/worker.js
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. 获取并“清洗”数据