在 resend 添加域名后一直都是带验证状态,等了五天,忍不住了。看官方文档,竟然有在另一个地方有小字说明。晕
目标#
添加域名,才能成功发送邮件
过程#
- 直接无脑复制提示的字段到 DNS 服务商中添加
- 发现长时间没生效
- 看官方文档 发现坑
- 填补好
Omit your domain from the record values in Resend when you paste.
Instead of bounces.example.com, paste only bounces
(or bounces.subdomain if you’re using a subdomain).
也就是说只要添加bounces.subdomain
,而不是bounces.subdomain.domain
Omit your domain from the record values in Resend when you paste.
Instead of resend._domainkey.example.com, paste only resend._domainkey
(or resend._domainkey.subdomain if you’re using a subdomain).
子域名不需要再加入字段中
总结#
- RTFM read the fuxking manual 果然是真理😁
- 不要盲目相信提示的信息