tsmartSend

面向开发者的邮件服务

用一次 API 调用从您自己的域名发送事务邮件,并跟踪每一次投递、退信、打开和点击。

免费开始阅读文档

curl https://send.tsmart.ai/emails \
  -H "Authorization: Bearer $TSMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <[email protected]>",
    "to": "[email protected]",
    "subject": "Your order has shipped",
    "html": "<p>Your order is on its way.</p>"
  }'
import { Tsmart } from "@tsmart/sdk";

const tsmart = new Tsmart(); // reads TSMART_API_KEY

const { data, error } = await tsmart.emails.send({
  from: "Acme <[email protected]>",
  to: ["[email protected]"],
  subject: "Your order has shipped",
  html: "<p>Your order is on its way.</p>",
});
from tsmart import Tsmart

client = Tsmart()  # reads TSMART_API_KEY

sent = client.emails.send({
    "from": "Acme <[email protected]>",
    "to": ["[email protected]"],
    "subject": "Your order has shipped",
    "html": "<p>Your order is on its way.</p>",
})

一次请求,使用您的域名签名并投递。

发送邮件所需的一切

工作方式

  1. 01

    添加域名

    添加我们显示的 DNS 记录,或让自动设置代您完成。

    TXT ts2610._domainkey v=DKIM1; …
  2. 02

    创建密钥

    完全访问或仅发送。需要时可限定为一个域名。

    ts_xxxxxxxx_••••••••••••
  3. 03

    发送

    一次 POST 请求。然后在事件中查看它的送达。

    POST /emails → email.delivered

MCP

让您的 AI 智能体发送邮件

用限定范围的密钥将任意 MCP 客户端指向我们的远程服务器。智能体即可发送邮件并跟踪送达。

MCP 如何工作

{
  "mcpServers": {
    "tsmart-send": {
      "type": "http",
      "url": "https://send.tsmart.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

免费开始,随用量增长付费。

比较方案 →

几分钟内发送您的第一封邮件

开始使用阅读文档