Resend Email Provider

适用于 EmDash CMS 的 Resend 邮件提供商插件。

插件

Resend Email Provider

适用于 EmDash CMS 的 Resend 邮件提供商插件。

  • 分类: 邮件
  • 状态: 可用
  • 版本: 1.0.0
  • 价格: 未知
  • 来源: npm 软件包
  • 安装方式: npm 原生集成
  • 核实日期: 2026-11-01

适用于 EmDash CMS 的 Resend 邮件提供商插件。

安装

从 npm 安装该软件包:

npm install emdash-resend

在 Astro 配置中注册该插件:

// astro.config.mjs
import emdash from "emdash/astro";
import { resendEmail } from "emdash-resend";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [
        resendEmail({
          apiKey: process.env.RESEND_API_KEY,
          from: { email: "[email protected]", name: "My Site CMS" },
          replyTo: "[email protected]", // optional
        }),
      ],
    }),
  ],
});

详细信息