Anymail

一个 EmDash 邮件插件,支持任意 HTTP 邮件服务商:Resend、Maileroo、Mailgun、Postmark。对免费方案友好(无需 SMTP,仅用 fetch)。

插件

Anymail

一个 EmDash 邮件插件,支持任意 HTTP 邮件服务商:Resend、Maileroo、Mailgun、Postmark。对免费方案友好(无需 SMTP,仅用 fetch)。

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

一个 EmDash 邮件插件,支持任意 HTTP 邮件服务商:Resend、Maileroo、Mailgun、Postmark。对免费方案友好(无需 SMTP,仅用 fetch)。

安装

从 npm 安装该软件包:

npm install emdash-plugin-anymail

在 Astro 配置中注册该插件:

// astro.config.mjs
import { d1 } from "@emdash-cms/cloudflare";
import emdash from "emdash/astro";
import anymail from "emdash-plugin-anymail";

export default defineConfig({
  integrations: [
    emdash({
      database: d1({ binding: "DB" }),
      plugins: [anymail()],
    }),
  ],
});

详细信息