SendHQ 实践笔记

写给开发者的邮件基础设施详解

面向实际运维的指南:发送用户预期中的邮件、接收回复、保护信誉,以及为智能体提供受限的访问权限。

送达率

Amazon SES Sending Limits: Quotas, Rates and Fixes

Amazon SES sending limits start at 200 emails per 24 hours and 1 per second in the sandbox. See every quota, how to check it and how to raise it.

Read article →

送达率

GoDaddy SPF Record: How to Add or Merge It Correctly

Add a GoDaddy SPF record as one TXT at @ starting v=spf1. Already have one? Edit it to add your new sender instead of creating a second record.

Read article →

送达率

Email RFC Resources: 24 Standards and Tools Worth Using

The core email RFCs are RFC 5321 (SMTP) and RFC 5322 (message format). Here are 24 RFCs, drafts and tools, with 2026 updates like DMARC RFC 9989.

Read article →

Comparisons

Transactional Email API Cost per 100k Emails (Compared)

Sending 100k transactional emails a month costs $10 on Amazon SES, $39 on SendHQ and $90 on Resend or Mailgun Scale. Full math for 6 APIs.

Read article →

入站邮件

Parsing Email: 8 Best Email Parsers for Developers and Teams (Compared)

Parsing email turns raw MIME into sender, body, attachments and thread fields. Eight email parsers compared: inbound APIs, no-code tools and prices.

Read article →

Comparisons

AgentMail vs Nylas: Agent Inboxes or Connected Mailboxes

AgentMail vs Nylas: AgentMail sells agent-owned inboxes from $20/mo, Nylas syncs users' Gmail and Outlook and now adds Agent Accounts from $15/mo.

Read article →

送达率

8 Best DMARC Monitoring Tools for Small Teams (Compared)

The best DMARC monitoring tools for small teams: free tiers, report limits, retention and prices for dmarcian, EasyDMARC, URIports, parsedmarc and more.

Read article →

Transactional email

Order Confirmation Email Template: 7 Examples With Code

An order confirmation email template needs the order number, items, total, payment, address and delivery date. 7 copyable HTML and text examples.

Read article →

Comparisons

Aerosend Review: Aerosend vs SendHQ, Pricing and Limits

Aerosend sells managed cold email inboxes at $4 each ($2 past 150). See what it includes, its limits, and when SendHQ fits instead.

Read article →

Comparisons

SendPortal Review: SendPortal vs SendHQ for Product and Newsletter Email

SendPortal is a free, MIT-licensed, self-hosted Laravel app for newsletters. What it costs to run, its limits, and how it compares with SendHQ.

Read article →

Comparisons

SendGrid Pricing vs SendHQ: Cost at 10k to 200k Emails

SendGrid pricing starts at $19.95/month for Essentials and $89.95 for Pro after a 60-day trial. See the cost at 10k-200k emails next to SendHQ.

Read article →

工程实践

10 Best SMTP Testing Tools (Compared by What They Prove)

Swaks, OpenSSL s_client, Mailpit, smtp4dev, MxToolbox, CheckTLS and more, ranked by what a passing test proves, with the exact command and price for each.

Read article →

工程实践

IMAP vs SMTP: What's the Difference, and Which Does Your App Need?

SMTP sends and relays email; IMAP reads and syncs mail stored on a server. Ports, auth, limits, and IMAP polling vs inbound webhooks for apps and agents.

Read article →

送达率

What Is MTA-STS? Records, Policy File and Modes Explained

MTA-STS tells sending mail servers to use verified TLS when delivering to your domain. See the TXT record, policy file, modes and TLS-RPT setup.

Read article →

送达率

SMTP Commands Reference: EHLO to QUIT, With Reply Codes

Every SMTP command with its syntax, the reply codes it can return, and an annotated session with STARTTLS and AUTH, plus what 503 bad sequence of commands means.

Read article →

送达率

GoDaddy DKIM: How to Add a DKIM Record in GoDaddy DNS

Add GoDaddy DKIM for Microsoft 365, Google Workspace, Amazon SES or an email API: the exact record type, the host-only Name rule, dig checks and fixes.

Read article →

Product engineering

HTML Email Invoice Template: 7 Outlook-Safe Examples

Copy-paste HTML invoice email templates built on tables and inline CSS so they render in Outlook and Gmail, with a plain-text part and the API call that sends them.

Read article →

工程实践

HTML Email Resources: 20 Tools, Frameworks and Specs

An HTML email is a message with an HTML body styled by inline CSS. These 20 resources cover client support, frameworks, inliners and testing.

Read article →

Comparisons

6 Best SMTP2GO Alternatives for Developers (Compared)

The best SMTP2GO alternatives are Postmark, Mailgun, Amazon SES, Resend, SendHQ and Brevo. Compare pricing, SMTP plus API, inbound email and log retention.

Read article →

送达率

SMTP SSL vs TLS: Which to Pick, STARTTLS or Implicit TLS

For SMTP, use TLS: SSL is deprecated. Pick implicit TLS on port 465 when offered, or STARTTLS on 587. Ports, RFCs and client settings explained.

Read article →

送达率

DMARC aspf Explained: Strict vs Relaxed SPF Alignment

DMARC aspf sets SPF alignment: r (relaxed, the default) accepts any subdomain of your From domain, s (strict) needs an exact match. Worked examples inside.

Read article →

送达率

SMTP Code 550: How to Fix Every 550 Error Variant

SMTP code 550 is a permanent rejection: the server refused the message. Read the enhanced code (5.1.1, 5.7.1, 5.7.26) to find the exact fix.

Read article →

送达率

SMTP Errors: Reply Codes and Status Codes Reference

SMTP errors are 3-digit reply codes: 4xx is temporary and safe to retry, 5xx is permanent. Full table with enhanced codes and fixes.

Read article →

邮件 API

How to Send Transactional Email in Node.js with an Email API

Build a production-safe Node.js email flow with fetch, stable idempotency keys, explicit error handling, durable retries, and honest delivery states.

Read article →

入站邮件

How to Secure Inbound Email Webhooks in Node.js

Build a secure inbound email webhook in Node.js with raw-body signature verification, replay protection, idempotent ingestion, MIME limits, attachment quarantine, HTML sanitization, and policy-gated replies.

Read article →

邮件 API

AWS SES Endpoints: How to Choose the Right Region and URL

Choose the right Amazon SES API, SMTP, or inbound endpoint, configure regional resources safely, and migrate regions without losing identity, quota, or event controls.

Read article →

邮件 API

SMTP Port 587 vs 465 vs 25: Which Should Your App Use?

Use port 587 with required STARTTLS for most application email, port 465 for implicit TLS, and reserve port 25 for server-to-server relay. Includes Nodemailer configuration and debugging steps.

Read article →

入站邮件

How to Process Inbound Email Webhooks Without Duplicate Replies

Build an inbound email webhook that verifies signatures, deduplicates retries, routes replies safely, and prevents one message from triggering duplicate actions.

Read article →

入站邮件

如何使用 Amazon SES 接收邮件:S3 与 Lambda

使用 Amazon SES、S3 和 Lambda 构建可用于生产环境的入站邮件管道,涵盖 MIME 安全、租户路由、幂等、重试和会话归并。

阅读全文 →

邮件 API

Amazon SES 价格分档详解(2026 年 7 月)

2026 年 7 月 21 日,Amazon SES 从简单的按量计费模式转向分级套餐(Essentials、Pro、Enterprise)。本文拆解具体成本,并说明这对您的事务性邮件预算意味着什么。

阅读文章 →

域名身份验证

DMARC p=none、quarantine 与 reject 对比:运维人员指南

选择合适的 DMARC 策略,需要在安全性与送达率之间取得平衡。了解从 p=none 到 p=reject 的安全推进路径,在防止伪造的同时不拦截合法邮件。

阅读文章 →

工程实践

邮件 API 的幂等键

通过实现幂等键,防止网络重试时发送重复邮件。了解如何处理分布式系统故障,而不会给用户发送垃圾邮件。

阅读文章 →

域名身份验证

SPF 扁平化:解决 10 次查询上限问题

告别 DNS 查询过多导致的“permerror”。了解 SPF 扁平化的原理、10 次查询上限存在的原因,以及如何理顺 include 链以提升送达率。

阅读文章 →

送达率

退信与投诉:真正损害送达率的是什么

退信是技术性失败,投诉则是信誉杀手。了解如何处理这两类问题,保持发信信誉完好,让邮件顺利进入收件箱。

阅读文章 →

工程实践

设计“至少一次”投递的邮件 Webhook

了解如何利用重试、幂等键和签名验证,为邮件事件构建健壮的 Webhook 消费端,确保不会漏掉任何投递事件。

阅读文章 →

工程实践

事务性邮件迁移实战手册

在不丢失可观测性的前提下迁移事务性邮件服务商,需要分阶段推进:双发、事件对等映射,以及逐步的 DNS 切换。

阅读文章 →

邮件 API

同样 50,000 封邮件,为什么成本可能是 $5 也可能是 $66

深入剖析邮件 API 的价格差距。我们分析了为什么同样 50k 的发送量在不同服务商之间价格相差 13 倍,以及如何根据您的工程约束做出选择。

阅读文章 →

邮件 API

SendGrid 免费套餐已取消:30 分钟迁移指南

SendGrid 的免费套餐现已变为 60 天试用。本文是一份面向工程师的技术指南,帮助您将事务性邮件无停机地迁移到可持续的替代方案。

阅读文章 →

邮件 API

兼容 Resend 的邮件 API:兼容性不包括哪些方面

API 兼容让您无需重写代码即可切换服务商,但它不会迁移您的信誉、DNS 记录或送达历史。

阅读文章 →

工程实践

事务性邮件 API 生产环境检查清单

一份面向上线事务性邮件系统的工程师的技术指南,涵盖 DNS 验证、幂等性、错误处理以及生产就绪所需的成本分析。

阅读文章 →

智能体工作流

如何为 AI 智能体提供安全的邮件发送权限

直接给 AI 智能体一个 API 密钥是一种隐患。了解如何实现限定作用域的凭据、审批边界和幂等,防止由智能体引发的邮件灾难。

阅读全文 →