关于
This skill assists developers in adding and verifying a Mailtrap sending domain, including handling DNS records and propagation. It covers the necessary steps with registrars, post-verification compliance, and enabling click tracking. The domain must be fully verified in the Mailtrap UI before it can be used for sending emails.
快速安装
Claude Code
推荐npx skills add mailtrap/mailtrap-skills -a claude-code/plugin add https://github.com/mailtrap/mailtrap-skillsgit clone https://github.com/mailtrap/mailtrap-skills.git ~/.claude/skills/setting-up-sending-domain在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Setting up a Mailtrap sending domain
Overview
You must add and verify a domain you control before live sending. Mailtrap shows every DNS record required for that domain in the UI: add the complete set as given (do not cherry-pick). After DNS verifies, complete the compliance step if requested.
Subdomain vs root: add the exact hostname you will use in the From address. If you send from notifications.mycompany.com, add that subdomain as the sending domain—not only mycompany.com, unless you truly send from the root domain.
For step-by-step clicks at common hosts, open the matching guide on Sending domain setup (Cloudflare, Route 53, etc.) and follow it alongside the live UI values.
Related skills: authorizing-api-requests (tokens, env vars, account_id resolution), sending-emails (after domain is ready).
When to use
- New Sending Domains setup, stuck verification, or compliance questions
- DNS at Cloudflare, AWS, Google, Namecheap, GoDaddy, DigitalOcean, etc.
When not to use
- Sandbox-only testing without a custom domain (see
testing-with-sandbox)
Authorization
The Sending Domains API calls below need Authorization: Bearer $MAILTRAP_API_TOKEN and an $MAILTRAP_ACCOUNT_ID in the path. Token scope, storage, and the one-liner that resolves $MAILTRAP_ACCOUNT_ID from GET https://mailtrap.io/api/accounts are covered in skill authorizing-api-requests.
Automating setup (API and DNS providers)
Prefer this path when building scripts or AI-assisted automation:
- DNS records and status via API — Use the Sending Domains API:
GET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domains— lists domainsGET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domains/{sending_domain_id}— returnsdns_records(each withtype,name,value, and verificationstatus) anddns_verified. Poll after you publish DNS.
- Create domain via API —
POST https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domainswithdomain_namewhen your flow provisions domains programmatically.
- Publish DNS programmatically —
- Create the returned records at your DNS host using their API (e.g., Cloudflare API, AWS Route 53, Google Cloud DNS) or IaC. Align record names and values exactly with the API response.
Human fallback: Sending Domains > Add domain > copy values into the registrar UI > Verify when API automation is not available.
Workflow (summary)
- Sending Domains > Add domain and enter the domain name.
- Obtain required records from the UI or Sending Domains API; create all listed records at your DNS host exactly as shown (names, types, values).
- Wait for DNS propagation. If verification stays pending, use
dig,nslookup, or an online DNS lookup to confirm each record is visible publicly before clicking Verify again. - Complete the compliance flow when prompted.
Product walkthrough: Sending domain setup.
DNS provider guides (documentation)
Mailtrap publishes click-path guides for common providers. Open the page that matches the user's DNS host and follow it together with the live UI records:
- Cloudflare
- AWS Route 53
- Google Cloud DNS
- Squarespace (includes former Google Domains transition notes where applicable)
- GoDaddy
- Namecheap
- DigitalOcean
If the user's provider is not listed, the same rule applies: copy every record from Mailtrap into the DNS zone that serves the From domain.
Important DNS caveat (proxied DNS)
If your DNS provider proxies records (orange-cloud on Cloudflare, similar CDN/proxy modes elsewhere), verification-related records must be DNS-only (grey cloud / non-proxied) unless Mailtrap documentation explicitly allows proxying—proxied CNAMEs and similar often break SPF/DKIM verification. The same constraint applies to any host that fronts DNS with a proxy.
GitHub 仓库
常见问题
什么是 setting-up-sending-domain Skill?
setting-up-sending-domain 是一个 Claude Skill,作者为 mailtrap。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 setting-up-sending-domain 相关的任务。
如何安装 setting-up-sending-domain?
使用本页的安装命令:将 setting-up-sending-domain 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。
setting-up-sending-domain 属于哪个分类?
setting-up-sending-domain 属于其他分类。
setting-up-sending-domain 可以免费使用吗?
可以。setting-up-sending-domain 已收录在 AIMCP,可免费安装。
相关推荐技能
LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。
该Skill为开发者提供体育博彩数据分析工具,可分析盘口、大小球和特殊投注,识别价值投注机会。它整合历史数据和情景统计,生成包含时间戳的结构化Markdown报告。适用于需要快速获取博彩市场洞察的娱乐或教育类应用开发。
这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。
