<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: xusteve</title>
    <description>The latest articles on DEV Community by xusteve (@xusteve).</description>
    <link>https://dev.to/xusteve</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F481489%2F89f98615-5d4e-45a4-b5dd-42c64828df6e.jpeg</url>
      <title>DEV Community: xusteve</title>
      <link>https://dev.to/xusteve</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xusteve"/>
    <language>en</language>
    <item>
      <title>DMARC none quarantine reject: A Safe Rollout Guide</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Wed, 18 Nov 2026 11:22:53 +0000</pubDate>
      <link>https://dev.to/xusteve/dmarc-none-quarantine-reject-a-safe-rollout-guide-1gk0</link>
      <guid>https://dev.to/xusteve/dmarc-none-quarantine-reject-a-safe-rollout-guide-1gk0</guid>
      <description>&lt;p&gt;DMARC is easy to enable and easy to break.&lt;/p&gt;

&lt;p&gt;The safe path is not “set p=reject on Friday.” It is a staged rollout: observe first, quarantine the small failures, then reject only when the data is boring.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start at p=none
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;p=none&lt;/code&gt; does not enforce anything. It tells receivers to send reports while you learn which senders use your domain.&lt;/p&gt;

&lt;p&gt;Add a reporting address:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1; p=none; rua=mailto:dmarc@example.com; fo=1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Wait until you have enough reports to see every legitimate sender. This can take days or weeks depending on volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix alignment before enforcement
&lt;/h2&gt;

&lt;p&gt;For each legitimate source, confirm:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SPF passes and aligns with the From domain&lt;/li&gt;
&lt;li&gt;DKIM passes and aligns with the From domain&lt;/li&gt;
&lt;li&gt;the Return-Path domain is expected&lt;/li&gt;
&lt;li&gt;third-party senders are authorized&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A sender can pass SPF but fail DMARC if the domains do not align. Do not confuse “SPF pass” with “DMARC pass.”&lt;/p&gt;

&lt;h2&gt;
  
  
  Move to quarantine
&lt;/h2&gt;

&lt;p&gt;Start with a small percentage:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1; p=quarantine; pct=10; rua=mailto:dmarc@example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Watch the reports for legitimate mail that fails. Increase &lt;code&gt;pct&lt;/code&gt; gradually.&lt;/p&gt;

&lt;p&gt;Do not jump to 100% just because a test message passed. Reports show the long tail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Move to reject
&lt;/h2&gt;

&lt;p&gt;When failures are only from unauthorized or unwanted sources, move to reject:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1; p=reject; rua=mailto:dmarc@example.com; fo=1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep reporting enabled. Reject does not mean you can stop watching.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test the policy before publishing
&lt;/h2&gt;

&lt;p&gt;A policy simulator lets you check what would happen to a message under &lt;code&gt;none&lt;/code&gt;, &lt;code&gt;quarantine&lt;/code&gt;, and &lt;code&gt;reject&lt;/code&gt; before changing DNS:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/tools/dmarc-policy-simulator/" rel="noopener noreferrer"&gt;https://mailers.email/tools/dmarc-policy-simulator/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;enabling reject without reports&lt;/li&gt;
&lt;li&gt;forgetting a legitimate ESP&lt;/li&gt;
&lt;li&gt;using a subdomain policy that is stricter than the parent&lt;/li&gt;
&lt;li&gt;ignoring SPF lookup limits&lt;/li&gt;
&lt;li&gt;not monitoring the reporting mailbox&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The rollout rule
&lt;/h2&gt;

&lt;p&gt;Observe, fix, quarantine, reject. In that order.&lt;/p&gt;

</description>
      <category>email</category>
      <category>security</category>
      <category>devops</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Monitoring SPF, DKIM and DMARC Drift in CI</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Wed, 18 Nov 2026 11:22:22 +0000</pubDate>
      <link>https://dev.to/xusteve/monitoring-spf-dkim-and-dmarc-drift-in-ci-4lg4</link>
      <guid>https://dev.to/xusteve/monitoring-spf-dkim-and-dmarc-drift-in-ci-4lg4</guid>
      <description>&lt;p&gt;DNS records drift.&lt;/p&gt;

&lt;p&gt;A provider changes a DKIM selector. A marketing team adds a new ESP. Someone edits a TXT record and accidentally removes the reporting address.&lt;/p&gt;

&lt;p&gt;You do not need a full email platform to catch this. A daily CI job and a small API call are enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to monitor
&lt;/h2&gt;

&lt;p&gt;At minimum:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SPF record exists&lt;/li&gt;
&lt;li&gt;DKIM selector still resolves&lt;/li&gt;
&lt;li&gt;DMARC record exists&lt;/li&gt;
&lt;li&gt;DMARC policy has not changed unexpectedly&lt;/li&gt;
&lt;li&gt;reporting address is still present&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is not to fail every time a record changes. The goal is to make changes visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  A daily GitHub Action
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;email-auth-drift&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;schedule&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;cron&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"17 6 * * *"&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;check&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Scan domain&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;curl -s https://api.mailers.email/v1/scan \&lt;/span&gt;
            &lt;span class="na"&gt;-H 'content-type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;application/json' \&lt;/span&gt;
            &lt;span class="s"&gt;-d '{"domain":"example.com"}' &amp;gt; scan.json&lt;/span&gt;
          &lt;span class="s"&gt;cat scan.json&lt;/span&gt;

      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Check DMARC policy&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;jq -e '.dmarc.policy == "reject"' scan.json&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adjust the &lt;code&gt;jq&lt;/code&gt; path to match the response shape you receive. The important part is that the job fails when a policy changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not run it on every commit
&lt;/h2&gt;

&lt;p&gt;The public API is limited to 60 requests per hour per IP and caches each domain for 24 hours. A daily schedule is appropriate. A per-commit trigger is not.&lt;/p&gt;

&lt;p&gt;For a larger domain portfolio, batch the checks and run them on a schedule rather than in the pull-request path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Alert on changes, not just failures
&lt;/h2&gt;

&lt;p&gt;A useful drift check records the previous result and compares it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;policy changed from &lt;code&gt;quarantine&lt;/code&gt; to &lt;code&gt;none&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;DKIM selector disappeared&lt;/li&gt;
&lt;li&gt;SPF record changed&lt;/li&gt;
&lt;li&gt;reporting address removed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A simple JSON snapshot in the repository is enough to start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this belongs in CI
&lt;/h2&gt;

&lt;p&gt;Email authentication is infrastructure. If it breaks, password resets and invoices break.&lt;/p&gt;

&lt;p&gt;Put it next to uptime checks, dependency checks, and DNS checks. It is cheap and it catches the kind of change that is invisible in code review.&lt;/p&gt;

&lt;p&gt;API docs: &lt;a href="https://mailers.email/api/scan/" rel="noopener noreferrer"&gt;https://mailers.email/api/scan/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>email</category>
      <category>api</category>
      <category>github</category>
    </item>
    <item>
      <title>1M Emails/Month at 15 Providers: The Real Price Breakdown</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Wed, 11 Nov 2026 04:59:56 +0000</pubDate>
      <link>https://dev.to/xusteve/1m-emailsmonth-at-15-providers-the-real-price-breakdown-1j0m</link>
      <guid>https://dev.to/xusteve/1m-emailsmonth-at-15-providers-the-real-price-breakdown-1j0m</guid>
      <description>&lt;p&gt;At 50K emails per month, most providers look affordable.&lt;/p&gt;

&lt;p&gt;At 1M, the pricing model matters more than the headline rate.&lt;/p&gt;

&lt;p&gt;I compared the published pricing and overage rules for 15 transactional email providers. These are monthly list prices in USD, excluding dedicated IPs and taxes. Some numbers are official list prices; others are estimates based on published overage rates. I mark the difference below.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 1M picture
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;~1M/month&lt;/th&gt;
&lt;th&gt;Basis&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Amazon SES&lt;/td&gt;
&lt;td&gt;$160&lt;/td&gt;
&lt;td&gt;Essentials rate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zoho ZeptoMail&lt;/td&gt;
&lt;td&gt;$250&lt;/td&gt;
&lt;td&gt;Credit pricing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bird&lt;/td&gt;
&lt;td&gt;~$350&lt;/td&gt;
&lt;td&gt;Current deposit rate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Resend&lt;/td&gt;
&lt;td&gt;$650&lt;/td&gt;
&lt;td&gt;Scale&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mailchimp Transactional&lt;/td&gt;
&lt;td&gt;$720&lt;/td&gt;
&lt;td&gt;40 blocks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Twilio SendGrid&lt;/td&gt;
&lt;td&gt;~$799&lt;/td&gt;
&lt;td&gt;Required 1.5M tier&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SMTP2GO&lt;/td&gt;
&lt;td&gt;~$840&lt;/td&gt;
&lt;td&gt;Professional + overage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mailgun&lt;/td&gt;
&lt;td&gt;~$1,080&lt;/td&gt;
&lt;td&gt;Scale + overage&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MailerSend&lt;/td&gt;
&lt;td&gt;~$1,266&lt;/td&gt;
&lt;td&gt;Overage estimate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Postmark&lt;/td&gt;
&lt;td&gt;~$1,303&lt;/td&gt;
&lt;td&gt;Pro + overage&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Brevo, Mailjet and Elastic Email require a quote or higher tier at this volume. Loops and Buttondown price by contacts or subscribers, not by email volume, so they are not directly comparable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the table does not show
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;dedicated IP cost&lt;/li&gt;
&lt;li&gt;log retention&lt;/li&gt;
&lt;li&gt;inbound email&lt;/li&gt;
&lt;li&gt;template/automation limits&lt;/li&gt;
&lt;li&gt;deliverability support&lt;/li&gt;
&lt;li&gt;annual discounts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A $160 SES bill can be more expensive than a $650 Resend bill if you need to build suppression management, monitoring, and log search yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real decision
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Lowest raw cost:&lt;/strong&gt; SES or ZeptoMail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Developer experience:&lt;/strong&gt; Resend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long log retention and traceability:&lt;/strong&gt; Postmark.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contact-based pricing with unlimited sends:&lt;/strong&gt; Loops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform included:&lt;/strong&gt; Mailchimp Transactional, only if you already pay for Mailchimp marketing.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Check the assumptions
&lt;/h2&gt;

&lt;p&gt;Prices change. Overage rules change. Tiers change.&lt;/p&gt;

&lt;p&gt;Every number in the public comparison is dated, and estimates are labeled as estimates:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/compare/transactional-email-pricing/" rel="noopener noreferrer"&gt;https://mailers.email/compare/transactional-email-pricing/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do not choose a provider from a single headline price. Calculate the bill at your actual volume, then add the cost of the work you will have to do yourself.&lt;/p&gt;

</description>
      <category>email</category>
      <category>saas</category>
      <category>api</category>
      <category>data</category>
    </item>
    <item>
      <title>Why Transactional Emails Go to Spam: A Debugging Checklist</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Wed, 11 Nov 2026 04:59:35 +0000</pubDate>
      <link>https://dev.to/xusteve/why-transactional-emails-go-to-spam-a-debugging-checklist-21fd</link>
      <guid>https://dev.to/xusteve/why-transactional-emails-go-to-spam-a-debugging-checklist-21fd</guid>
      <description>&lt;p&gt;When a password reset lands in spam, the first instinct is to rewrite the email.&lt;/p&gt;

&lt;p&gt;That is usually the wrong place to start.&lt;/p&gt;

&lt;p&gt;Transactional email deliverability is mostly decided before the message body matters: authentication, domain alignment, IP reputation, list hygiene, and link domains.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Check authentication first
&lt;/h2&gt;

&lt;p&gt;Start with the sending domain, not the template.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SPF exists and stays under the lookup limit&lt;/li&gt;
&lt;li&gt;DKIM is configured with the selector actually used by the sender&lt;/li&gt;
&lt;li&gt;DMARC exists and has a reporting address&lt;/li&gt;
&lt;li&gt;the From domain aligns with the authenticated domain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Run the domain through a scanner:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;https://mailers.email/scan/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If DMARC is missing, fix that before changing copy.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check alignment, not just records
&lt;/h2&gt;

&lt;p&gt;A domain can have SPF and DKIM and still fail DMARC if the visible From domain does not align.&lt;/p&gt;

&lt;p&gt;This is common when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;marketing sends through one provider&lt;/li&gt;
&lt;li&gt;transactional mail sends through another&lt;/li&gt;
&lt;li&gt;the Return-Path uses a different subdomain&lt;/li&gt;
&lt;li&gt;a third-party platform rewrites links&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the actual headers, not only the DNS records.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check the link domain
&lt;/h2&gt;

&lt;p&gt;Links to a newly registered domain, a redirect chain, or a domain with a poor reputation can hurt inbox placement.&lt;/p&gt;

&lt;p&gt;Use one consistent, authenticated link domain. Avoid URL shorteners in transactional mail unless you control them.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Check list hygiene
&lt;/h2&gt;

&lt;p&gt;Transactional mail should not go to purchased lists. But even transactional lists collect stale addresses.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;suppress hard bounces&lt;/li&gt;
&lt;li&gt;process complaints immediately&lt;/li&gt;
&lt;li&gt;stop sending to invalid domains&lt;/li&gt;
&lt;li&gt;do not retry a hard bounce indefinitely&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Check volume changes
&lt;/h2&gt;

&lt;p&gt;A sudden 10× increase from a new IP or domain looks like abuse. Ramp volume gradually and monitor bounce and complaint rates.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Check the content last
&lt;/h2&gt;

&lt;p&gt;Content matters, but usually after authentication and reputation.&lt;/p&gt;

&lt;p&gt;Look for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;mismatched From name and domain&lt;/li&gt;
&lt;li&gt;excessive links&lt;/li&gt;
&lt;li&gt;image-only emails&lt;/li&gt;
&lt;li&gt;misleading subject lines&lt;/li&gt;
&lt;li&gt;missing plain-text alternative&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A quick debugging order
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Scan the domain.&lt;/li&gt;
&lt;li&gt;Check SPF, DKIM, DMARC and alignment.&lt;/li&gt;
&lt;li&gt;Read the full headers.&lt;/li&gt;
&lt;li&gt;Check the link domain and redirects.&lt;/li&gt;
&lt;li&gt;Check bounce and complaint handling.&lt;/li&gt;
&lt;li&gt;Check recent volume changes.&lt;/li&gt;
&lt;li&gt;Only then rewrite the template.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Domain scan: &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;https://mailers.email/scan/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;DMARC check: &lt;a href="https://mailers.email/tools/dmarc-check/" rel="noopener noreferrer"&gt;https://mailers.email/tools/dmarc-check/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Header analyzer: &lt;a href="https://mailers.email/tools/email-header-analyzer/" rel="noopener noreferrer"&gt;https://mailers.email/tools/email-header-analyzer/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Blacklist check: &lt;a href="https://mailers.email/tools/blacklist-check/" rel="noopener noreferrer"&gt;https://mailers.email/tools/blacklist-check/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>email</category>
      <category>security</category>
    </item>
    <item>
      <title>SMTP vs API: Which Should Your App Use in 2026?</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Fri, 06 Nov 2026 09:32:59 +0000</pubDate>
      <link>https://dev.to/xusteve/smtp-vs-api-which-should-your-app-use-in-2026-2506</link>
      <guid>https://dev.to/xusteve/smtp-vs-api-which-should-your-app-use-in-2026-2506</guid>
      <description>&lt;p&gt;Most teams do not choose between SMTP and an email API because of a deep architectural preference. They inherit one, then discover the trade-offs later.&lt;/p&gt;

&lt;p&gt;Both transports can deliver mail. The difference is what happens around the send: retries, idempotency, observability, templates, and how much of the delivery stack you want to own.&lt;/p&gt;

&lt;h2&gt;
  
  
  SMTP is a transport, not a product
&lt;/h2&gt;

&lt;p&gt;SMTP is excellent when you need compatibility. WordPress, legacy applications, printers, NAS devices, and internal tools often speak SMTP and nothing else.&lt;/p&gt;

&lt;p&gt;But raw SMTP does not give you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;per-message delivery status by default&lt;/li&gt;
&lt;li&gt;idempotency keys&lt;/li&gt;
&lt;li&gt;structured webhook events&lt;/li&gt;
&lt;li&gt;template versioning&lt;/li&gt;
&lt;li&gt;easy suppression management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can build those around SMTP, but you are now building an email platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  API is a better default for product teams
&lt;/h2&gt;

&lt;p&gt;If you control the application, an HTTP API usually gives you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON request and response&lt;/li&gt;
&lt;li&gt;clear error codes&lt;/li&gt;
&lt;li&gt;request IDs&lt;/li&gt;
&lt;li&gt;webhook events&lt;/li&gt;
&lt;li&gt;SDKs and typed clients&lt;/li&gt;
&lt;li&gt;easier testing with sandbox modes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For password resets, receipts, invitations, and notifications, the API model is easier to observe and retry safely.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://api.example.com/v1/send&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;POST&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`Bearer &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;EMAIL_API_KEY&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;content-type&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;idempotency-key&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;messageId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
    &lt;span class="na"&gt;from&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Mailers &amp;lt;hello@example.com&amp;gt;&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;to&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;user@example.com&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;subject&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Reset your password&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;html&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;htmlBody&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}),&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important part is not the provider. It is the &lt;code&gt;idempotency-key&lt;/code&gt;. Without it, a retry can create a duplicate email.&lt;/p&gt;

&lt;h2&gt;
  
  
  When SMTP still wins
&lt;/h2&gt;

&lt;p&gt;Choose SMTP when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the application only supports SMTP&lt;/li&gt;
&lt;li&gt;you are migrating gradually from an on-prem relay&lt;/li&gt;
&lt;li&gt;you need a single transport for WordPress and a side application&lt;/li&gt;
&lt;li&gt;your provider’s SMTP relay has the same observability as its API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not choose SMTP just because it feels familiar. “Familiar” often means “we will debug it in production.”&lt;/p&gt;

&lt;h2&gt;
  
  
  Deliverability is the same
&lt;/h2&gt;

&lt;p&gt;SPF, DKIM, DMARC, reputation, blocklists, and content all apply to both transports. The transport does not make bad mail deliverable.&lt;/p&gt;

&lt;p&gt;Before changing transport, check the sending domain:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;https://mailers.email/scan/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical rule
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;New application: API first.&lt;/li&gt;
&lt;li&gt;WordPress or legacy app: SMTP relay, but keep the API for product mail.&lt;/li&gt;
&lt;li&gt;High-volume custom stack: compare both, then measure bounce handling and time-to-debug.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Provider pricing varies more than transport choice. At 50K, 100K and 1M sends per month, the same feature set can differ by 5–8×:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/compare/transactional-email-pricing/" rel="noopener noreferrer"&gt;https://mailers.email/compare/transactional-email-pricing/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>email</category>
      <category>webdev</category>
      <category>api</category>
      <category>architecture</category>
    </item>
    <item>
      <title>How to Validate 10,000 Email Domains Without Sending a Single Email</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Tue, 03 Nov 2026 14:41:18 +0000</pubDate>
      <link>https://dev.to/xusteve/how-to-validate-10000-email-domains-without-sending-a-single-email-32af</link>
      <guid>https://dev.to/xusteve/how-to-validate-10000-email-domains-without-sending-a-single-email-32af</guid>
      <description>&lt;p&gt;Email list validation is usually done at the worst possible time: right before a campaign, when everyone is already nervous.&lt;/p&gt;

&lt;p&gt;Sending test emails to 10,000 addresses is slow, damages sender reputation, and tells you very little about whether the domain itself can receive mail.&lt;/p&gt;

&lt;p&gt;A better first pass is DNS-level validation. It will not prove that a mailbox exists, but it catches the expensive mistakes before you send anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check
&lt;/h2&gt;

&lt;p&gt;For each domain, check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;syntax and IDN normalization&lt;/li&gt;
&lt;li&gt;MX records&lt;/li&gt;
&lt;li&gt;null MX&lt;/li&gt;
&lt;li&gt;disposable or role-account domains&lt;/li&gt;
&lt;li&gt;recently registered or parked domains&lt;/li&gt;
&lt;li&gt;known blacklist status&lt;/li&gt;
&lt;li&gt;SPF, DKIM and DMARC presence&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These checks do not replace double opt-in. They stop you from sending to domains that clearly cannot or should not receive mail.&lt;/p&gt;

&lt;h2&gt;
  
  
  Normalize before checking
&lt;/h2&gt;

&lt;p&gt;A file that looks clean often contains duplicates, trailing spaces, uppercase domains, and addresses pasted from spreadsheets.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;normalize&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
  &lt;span class="nx"&gt;value&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toLowerCase&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/^mailto:/&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="se"&gt;[&lt;/span&gt;&lt;span class="sr"&gt;),.;&lt;/span&gt;&lt;span class="se"&gt;]&lt;/span&gt;&lt;span class="sr"&gt;+$/&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;""&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;domainOf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;pop&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;rawInput&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="se"&gt;\r?\n&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;normalize&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;uniqueDomains&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[...&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;domainOf&lt;/span&gt;&lt;span class="p"&gt;))];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Deduplicate by domain before doing DNS work. If 10,000 addresses belong to 700 domains, you have 700 checks, not 10,000.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use the bulk tool first
&lt;/h2&gt;

&lt;p&gt;For a one-off cleanup, the browser-based bulk checker is faster than writing a script:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mailers.email/tools/bulk-email-domain-check/" rel="noopener noreferrer"&gt;https://mailers.email/tools/bulk-email-domain-check/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Paste the domains, review MX and authentication status, and export the result. The tool runs in the browser and does not require an account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use the API for spot checks
&lt;/h2&gt;

&lt;p&gt;The public scan API is intentionally small:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; https://api.mailers.email/v1/scan &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'content-type: application/json'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"domain":"example.com"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;60 requests per hour per IP&lt;/li&gt;
&lt;li&gt;24-hour cache per domain&lt;/li&gt;
&lt;li&gt;no API key&lt;/li&gt;
&lt;li&gt;one domain per request&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not try to push 10,000 domains through a 60/hour endpoint. Use the bulk tool for the list, then use the API for a sample or for CI checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Classify the result
&lt;/h2&gt;

&lt;p&gt;Do not reduce everything to “valid” and “invalid”. Use at least four buckets:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Deliverable&lt;/strong&gt; — MX exists and authentication looks sane.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Risky&lt;/strong&gt; — role account, disposable domain, new domain, or authentication missing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Undeliverable&lt;/strong&gt; — no MX or null MX.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unknown&lt;/strong&gt; — DNS timeout or ambiguous response.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Risky addresses are often the most valuable segment: they are the ones you should suppress or verify with double opt-in first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What DNS validation cannot do
&lt;/h2&gt;

&lt;p&gt;It cannot prove that &lt;code&gt;person@example.com&lt;/code&gt; exists. Only the receiving server knows that, and probing it with SMTP can get your IP blocked.&lt;/p&gt;

&lt;p&gt;Use DNS validation to protect your sender reputation, not to promise a perfect list.&lt;/p&gt;

&lt;p&gt;Bulk checker: &lt;a href="https://mailers.email/tools/bulk-email-domain-check/" rel="noopener noreferrer"&gt;https://mailers.email/tools/bulk-email-domain-check/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Domain scanner: &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;https://mailers.email/scan/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>email</category>
      <category>webdev</category>
      <category>api</category>
    </item>
    <item>
      <title>Building a WordPress Newsletter Plugin Benchmark from the WordPress.org API</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Tue, 03 Nov 2026 13:35:11 +0000</pubDate>
      <link>https://dev.to/xusteve/building-a-wordpress-newsletter-plugin-benchmark-from-the-wordpressorg-api-3ei7</link>
      <guid>https://dev.to/xusteve/building-a-wordpress-newsletter-plugin-benchmark-from-the-wordpressorg-api-3ei7</guid>
      <description>&lt;h1&gt;
  
  
  Building a WordPress Newsletter Plugin Benchmark from the WordPress.org API
&lt;/h1&gt;

&lt;p&gt;Most “best WordPress newsletter plugin” lists mix install counts, ratings, pricing, and vendor claims without saying when the data was checked.&lt;/p&gt;

&lt;p&gt;I built a small benchmark from the WordPress.org plugin API to make the comparison reproducible. The raw data is public, the fields are explicit, and the snapshot date is part of the dataset.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use the WordPress.org API?
&lt;/h2&gt;

&lt;p&gt;The API gives a consistent snapshot for plugins listed on WordPress.org:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;active installs&lt;/li&gt;
&lt;li&gt;rating (0–100)&lt;/li&gt;
&lt;li&gt;number of ratings&lt;/li&gt;
&lt;li&gt;current version&lt;/li&gt;
&lt;li&gt;last updated date&lt;/li&gt;
&lt;li&gt;required WordPress version&lt;/li&gt;
&lt;li&gt;required PHP version&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is enough to compare adoption, maintenance, and environment requirements without scraping marketing pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fetching one plugin
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="s1"&gt;'https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&amp;amp;request[slug]=mailpoet'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response includes &lt;code&gt;active_installs&lt;/code&gt;, &lt;code&gt;rating&lt;/code&gt;, &lt;code&gt;num_ratings&lt;/code&gt;, &lt;code&gt;version&lt;/code&gt;, &lt;code&gt;requires&lt;/code&gt;, and &lt;code&gt;requires_php&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;A small Python collector:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib.parse&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;urllib.request&lt;/span&gt;

&lt;span class="n"&gt;slugs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;mailpoet&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;newsletter&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;fluent-crm&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;mailchimp-for-wp&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;slug&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;slugs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;query&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlencode&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;action&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;plugin_information&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;request[slug]&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;slug&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;})&lt;/span&gt;
    &lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.wordpress.org/plugins/info/1.2/?&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;urllib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;urlopen&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;slug&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;active_installs&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;rating&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;num_ratings&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
        &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;version&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The 12 plugins in the benchmark
&lt;/h2&gt;

&lt;p&gt;The benchmark covers:&lt;/p&gt;

&lt;p&gt;MailPoet, The Newsletter Plugin, FluentCRM, Icegram Express, Noptin, Mailster, Groundhogg, MailerPress, MC4WP, Omnisend, Brevo, and Kit.&lt;/p&gt;

&lt;p&gt;The plugin directory slug matters. For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MC4WP is &lt;code&gt;mailchimp-for-wp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Brevo is &lt;code&gt;mailin&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Kit is &lt;code&gt;convertkit&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Using the platform name as the slug will give you the wrong plugin or no result.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the data actually shows
&lt;/h2&gt;

&lt;p&gt;Some useful patterns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MailPoet has the largest install base, but its rating is lower than several smaller plugins.&lt;/li&gt;
&lt;li&gt;MailerPress has a 5.0 rating from a very small sample, so the score needs a sample-size warning.&lt;/li&gt;
&lt;li&gt;Groundhogg has a high rating but a much smaller install base and a newer WordPress requirement.&lt;/li&gt;
&lt;li&gt;MC4WP is a connector, not a self-hosted newsletter plugin. Its install count should not be compared directly with MailPoet’s.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last distinction is the most important one: &lt;strong&gt;where subscribers are stored&lt;/strong&gt; changes the product category.&lt;/p&gt;

&lt;h2&gt;
  
  
  Download the dataset
&lt;/h2&gt;

&lt;p&gt;The benchmark JSON includes the 12 plugins, installs, ratings, review counts, versions, requirements, storage location, and the verification date.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://mailers.email/data/wordpress-newsletter-plugin-benchmark-2026.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The readable version is here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://mailers.email/learn/wordpress-newsletter-plugin-benchmark-2026/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Methodology matters
&lt;/h2&gt;

&lt;p&gt;A benchmark is only useful if it says what it does &lt;em&gt;not&lt;/em&gt; include. This one does not include vendor pricing, feature quality, or real delivery performance. Those need separate checks.&lt;/p&gt;

&lt;p&gt;If you publish a plugin comparison, include:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;the API endpoint or source URL&lt;/li&gt;
&lt;li&gt;the snapshot date&lt;/li&gt;
&lt;li&gt;the exact plugin slug&lt;/li&gt;
&lt;li&gt;the sample size behind every rating&lt;/li&gt;
&lt;li&gt;a warning when data is estimated&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>webdev</category>
      <category>data</category>
    </item>
    <item>
      <title>How to Check SPF, DKIM and DMARC for Any Domain with a Free API</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Tue, 03 Nov 2026 13:34:29 +0000</pubDate>
      <link>https://dev.to/xusteve/how-to-check-spf-dkim-and-dmarc-for-any-domain-with-a-free-api-2kfk</link>
      <guid>https://dev.to/xusteve/how-to-check-spf-dkim-and-dmarc-for-any-domain-with-a-free-api-2kfk</guid>
      <description>&lt;h1&gt;
  
  
  How to Check SPF, DKIM and DMARC for Any Domain with a Free API
&lt;/h1&gt;

&lt;p&gt;Email authentication is one of those things that only becomes urgent when a password reset, invoice, or onboarding email lands in spam.&lt;/p&gt;

&lt;p&gt;SPF, DKIM, and DMARC are the three records that decide whether a receiving server can trust your domain. The hard part is not remembering the acronyms; it is checking all three quickly, from code, without sending a test email.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each record does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SPF&lt;/strong&gt; lists the servers allowed to send mail for your domain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DKIM&lt;/strong&gt; adds a cryptographic signature so the message can be verified as unaltered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DMARC&lt;/strong&gt; tells receivers what to do when SPF or DKIM alignment fails, and where to send reports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A domain can have SPF and DKIM and still fail DMARC if the records are not aligned with the visible From domain. That is why checking them separately is useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  A quick check from the terminal
&lt;/h2&gt;

&lt;p&gt;Mailers.email exposes a free anonymous scan API. No API key is required, and the same-domain response is cached for 24 hours.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; https://api.mailers.email/v1/scan &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'content-type: application/json'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"domain":"example.com"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response gives you the result of the domain checks rather than a single “pass” or “fail”. For a human-readable report, use the web scanner:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://mailers.email/scan/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The scanner also checks MX, reverse DNS, and blacklist status, which is useful when SPF and DKIM look correct but delivery still fails.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check before you send
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;SPF&lt;/strong&gt; exists, stays under the DNS lookup limit, and includes every sending service.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DKIM&lt;/strong&gt; is configured with a selector your provider actually signs with.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DMARC&lt;/strong&gt; exists and has a reporting address.&lt;/li&gt;
&lt;li&gt;The From domain aligns with the authenticated domain.&lt;/li&gt;
&lt;li&gt;Transactional and marketing mail do not share a damaged sending reputation.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Rate limits and scope
&lt;/h2&gt;

&lt;p&gt;The public API is intentionally small:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;POST /v1/scan&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;60 requests per hour per IP&lt;/li&gt;
&lt;li&gt;24-hour cache per domain&lt;/li&gt;
&lt;li&gt;no API key&lt;/li&gt;
&lt;li&gt;no blacklist checks in the API (the web scanner includes them)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That makes it suitable for a quick health check, a CI smoke test, or an AI-agent tool — not for high-volume list validation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using it from an AI agent
&lt;/h2&gt;

&lt;p&gt;The same service is available as an MCP server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://mcp.mailers.email/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The tool is called &lt;code&gt;scan_domain&lt;/code&gt;. An agent can check a domain before drafting a deliverability recommendation instead of guessing from a static checklist.&lt;/p&gt;

&lt;h2&gt;
  
  
  The practical takeaway
&lt;/h2&gt;

&lt;p&gt;Do not wait for a customer to report a missing email. Check the domain before launch, add the check to your release checklist, and re-check after changing an email provider or DNS record.&lt;/p&gt;

&lt;p&gt;Free scanner: &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;https://mailers.email/scan/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
API and MCP docs: &lt;a href="https://mailers.email/api/scan/" rel="noopener noreferrer"&gt;https://mailers.email/api/scan/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
    </item>
    <item>
      <title>Giving AI Agents an Email Deliverability Check with MCP</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Mon, 02 Nov 2026 06:58:15 +0000</pubDate>
      <link>https://dev.to/xusteve/giving-ai-agents-an-email-deliverability-check-with-mcp-5en7</link>
      <guid>https://dev.to/xusteve/giving-ai-agents-an-email-deliverability-check-with-mcp-5en7</guid>
      <description>&lt;p&gt;Your agent can draft an email in seconds. It still cannot tell whether the sending domain is configured correctly.&lt;/p&gt;

&lt;p&gt;That gap matters. An agent can produce a perfect cold email, newsletter, or support reply, then hand it to a domain with no SPF record, a broken DKIM selector, or a DMARC policy that tells receivers to do nothing. The writing is fine; the infrastructure is not.&lt;/p&gt;

&lt;p&gt;I built a small remote MCP server to give agents a read-only email-domain health check. This post shows how it works, how to connect it, and where I deliberately kept the scope narrow.&lt;/p&gt;

&lt;h2&gt;
  
  
  One tool: &lt;code&gt;scan_domain&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;The MCP server is available at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://mcp.mailers.email/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It exposes a single tool:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"scan_domain"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Run a domain email health scan (cheap checks; no blacklist)."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"inputSchema"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"properties"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"string"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"required"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A call returns checks for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MX records&lt;/li&gt;
&lt;li&gt;SPF&lt;/li&gt;
&lt;li&gt;DKIM&lt;/li&gt;
&lt;li&gt;DMARC&lt;/li&gt;
&lt;li&gt;reverse DNS / PTR&lt;/li&gt;
&lt;li&gt;domain age&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The response includes a score, &lt;code&gt;maxScore&lt;/code&gt;, grade, confidence, individual check details and a &lt;code&gt;fixes&lt;/code&gt; array ordered by what to fix first.&lt;/p&gt;

&lt;p&gt;The public MCP tool intentionally does &lt;strong&gt;not&lt;/strong&gt; run DNSBL blacklist checks. Those are 32+ extra DNS queries per domain and belong in the full web scan at &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;mailers.email/scan&lt;/a&gt;, not in a quick agent tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connect an MCP client
&lt;/h2&gt;

&lt;p&gt;Add the server to your MCP configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"mailers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://mcp.mailers.email/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No API key, account, or OAuth flow is required. The server is anonymous and rate-limited by IP.&lt;/p&gt;

&lt;p&gt;After connecting, ask your agent something like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Check example.com's email setup. Tell me the three most important fixes and why they matter.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A useful agent response should separate:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;What is broken&lt;/strong&gt; — for example, no MX record or no SPF record.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What it means&lt;/strong&gt; — can the domain receive mail? Can another server spoof it?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What to do first&lt;/strong&gt; — prioritize authentication and routing before cosmetic improvements.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why only one tool?
&lt;/h2&gt;

&lt;p&gt;MCP servers can become a pile of endpoints. I kept this one focused because the main agent use case is simple: &lt;em&gt;check a domain before you send from it or recommend it&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;One tool also makes the permission model easy to reason about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is read-only.&lt;/li&gt;
&lt;li&gt;It does not touch a mailbox.&lt;/li&gt;
&lt;li&gt;It does not send email.&lt;/li&gt;
&lt;li&gt;It does not require credentials.&lt;/li&gt;
&lt;li&gt;It returns DNS-based evidence, not a guarantee of inbox placement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DNSBL checks, mailbox access, and sending would each deserve a separate tool with a separate threat model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits and caching
&lt;/h2&gt;

&lt;p&gt;The MCP server shares the same scan budget as the REST API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;60 requests per hour per IP&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;No API key or account&lt;/li&gt;
&lt;li&gt;MCP calls run a fresh scan&lt;/li&gt;
&lt;li&gt;The REST endpoint caches same-domain results for 24 hours&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That difference is intentional. The REST API is optimized for repeated checks and dashboards; the MCP path is optimized for an agent asking once during a task.&lt;/p&gt;

&lt;p&gt;If your agent needs the full blacklist report, send it to the web scanner or use the REST API's documented surface. The MCP tool says &lt;code&gt;no blacklist&lt;/code&gt; in its description so the agent does not silently assume otherwise.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the score means
&lt;/h2&gt;

&lt;p&gt;The public API returns &lt;code&gt;maxScore: 80&lt;/code&gt;. That is not a bug.&lt;/p&gt;

&lt;p&gt;The score is normalized against the checks that actually ran. Because DNSBL checks are excluded from the public API, the maximum available score is 80 rather than 100. A "perfect" cheap scan should not be presented as a perfect full deliverability audit.&lt;/p&gt;

&lt;p&gt;This is the kind of detail that matters when an agent is summarizing results for a human. The agent should say what was checked, not just repeat a number.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small example response
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;69&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"grade"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;83&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"checks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"mx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"spf"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"dkim"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"dmarc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rdns"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"fixes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rdns"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"mx"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The real payload includes the record values and reasons behind each status. That is what makes the result useful to an agent: it can explain the finding instead of only returning a grade.&lt;/p&gt;

&lt;h2&gt;
  
  
  When this is useful
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An agent onboards a new client domain and checks it before sending.&lt;/li&gt;
&lt;li&gt;A developer asks an IDE agent to sanity-check a domain from a README.&lt;/li&gt;
&lt;li&gt;A support assistant flags a customer domain with no SPF or DMARC.&lt;/li&gt;
&lt;li&gt;A sales agent checks a prospect's domain before recommending an email setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When it is not enough
&lt;/h2&gt;

&lt;p&gt;This is not a replacement for a full deliverability audit. It does not inspect mailbox placement, content, sending reputation, or live blacklist listings. It is a fast, cheap first pass.&lt;/p&gt;

&lt;p&gt;If you need the complete view, use the web scanner:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full scan: &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;mailers.email/scan&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;API and MCP docs: &lt;a href="https://mailers.email/api/scan/" rel="noopener noreferrer"&gt;mailers.email/api/scan&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub README and examples: &lt;a href="https://github.com/xusteve/mailers-scan-api" rel="noopener noreferrer"&gt;github.com/xusteve/mailers-scan-api&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you connect it to an agent, I would like to hear what the agent does with the results — especially where it overstates the score or misses a fix-first priority.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>email</category>
      <category>api</category>
    </item>
    <item>
      <title>Building an anonymous email-domain scan API on Cloudflare Workers</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Mon, 02 Nov 2026 06:47:01 +0000</pubDate>
      <link>https://dev.to/xusteve/building-an-anonymous-email-domain-scan-api-on-cloudflare-workers-h4k</link>
      <guid>https://dev.to/xusteve/building-an-anonymous-email-domain-scan-api-on-cloudflare-workers-h4k</guid>
      <description>&lt;p&gt;Mailers.email exposes domain health checks as both a REST API and an MCP server. This post covers the API contract, the Cloudflare Worker request path, caching, rate limiting and the design decisions behind no-key access.&lt;/p&gt;

&lt;p&gt;The short version: &lt;code&gt;POST /v1/scan&lt;/code&gt; accepts a domain, runs a small set of DNS checks through Cloudflare DoH, returns a structured score plus fix-first findings, and requires no account or API key. The public API is intentionally cheaper than the full web scan: blacklist checks are excluded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why email-domain checking works well as an API
&lt;/h2&gt;

&lt;p&gt;Email configuration is mostly public DNS. MX, SPF, DKIM, DMARC, reverse DNS and domain age can all be inspected without mailbox access.&lt;/p&gt;

&lt;p&gt;That makes the core check a good fit for a small, read-only API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;one domain in&lt;/li&gt;
&lt;li&gt;a handful of DNS lookups out&lt;/li&gt;
&lt;li&gt;a deterministic result that another service or agent can explain&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is also safe to automate. There is no message content, no mailbox login and no sending capability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contract of &lt;code&gt;POST /v1/scan&lt;/code&gt;
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://api.mailers.email/v1/scan &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"domain":"example.com"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A successful response contains the domain, score, grade, confidence, individual checks and a &lt;code&gt;fixes&lt;/code&gt; array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"domain"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;69&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"maxScore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"grade"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"C"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;83&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"checks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"mx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"spf"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"dkim"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"dmarc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"age"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rdns"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"fixes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rdns"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"mx"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"meta"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"cached"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"quota"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"remaining"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;59&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"scope"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"hour"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The real response includes the record values and reasons for each check; the example is abbreviated.&lt;/p&gt;

&lt;h3&gt;
  
  
  About &lt;code&gt;maxScore&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;The public API returns &lt;code&gt;maxScore: 80&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This is deliberate. The score is normalized against the checks that actually ran. DNSBL checks are excluded from the public API, so a perfect public scan should not be presented as a perfect full deliverability audit.&lt;/p&gt;

&lt;p&gt;That distinction matters when another system summarizes the result. A score should come with the scope it was measured against.&lt;/p&gt;

&lt;h2&gt;
  
  
  Request flow: Cloudflare Worker + DoH
&lt;/h2&gt;

&lt;p&gt;The API is served by a Cloudflare Worker.&lt;/p&gt;

&lt;p&gt;At a high level:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;POST /v1/scan
  -&amp;gt; validate domain
  -&amp;gt; check IP rate limit
  -&amp;gt; check KV cache by domain
  -&amp;gt; query Cloudflare DoH for DNS records
  -&amp;gt; build checks and score
  -&amp;gt; cache result for 24 hours
  -&amp;gt; return JSON
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Worker uses Cloudflare's DNS-over-HTTPS resolver for live DNS. No separate DNS service sits in the middle.&lt;/p&gt;

&lt;p&gt;The scan currently covers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MX records&lt;/li&gt;
&lt;li&gt;SPF record and lookup count&lt;/li&gt;
&lt;li&gt;DKIM at common selectors&lt;/li&gt;
&lt;li&gt;DMARC policy&lt;/li&gt;
&lt;li&gt;reverse DNS / PTR&lt;/li&gt;
&lt;li&gt;domain age via RDAP where available&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The checks are deliberately bounded. This is not a full inbox-placement or reputation test.&lt;/p&gt;

&lt;h2&gt;
  
  
  24-hour cache for the same domain
&lt;/h2&gt;

&lt;p&gt;DNS records do not change every minute. Caching the result by domain keeps repeated checks cheap and avoids hammering upstream resolvers.&lt;/p&gt;

&lt;p&gt;The cache is stored in Cloudflare KV with a 24-hour TTL. Cached requests still count toward the rate limit, but they skip the DNS work. The response includes &lt;code&gt;meta.cached&lt;/code&gt; so callers know whether they received a cached result.&lt;/p&gt;

&lt;p&gt;The cache is per domain, not per user. There is no account or API key to associate with a query.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rate limiting: atomic counters with Durable Objects
&lt;/h2&gt;

&lt;p&gt;Anonymous APIs need a limit that works under concurrency.&lt;/p&gt;

&lt;p&gt;An ordinary read-modify-write sequence in KV is not atomic: two simultaneous requests can read the same counter and both write the same increment. For a 60/hour limit, that is a quiet way to let bursts through.&lt;/p&gt;

&lt;p&gt;The scan API uses a Durable Object as a per-IP serialization point for counter updates. The object handles the counter operation, so increments are atomic. The API uses the same mechanism for the shared scan budget.&lt;/p&gt;

&lt;p&gt;The public scan limit is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;60 requests/hour/IP&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;shared by the REST scan, MCP &lt;code&gt;scan_domain&lt;/code&gt; and the interactive scan&lt;/li&gt;
&lt;li&gt;no API key or account&lt;/li&gt;
&lt;li&gt;HTTP 429 when exceeded&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The separate free DNS tool pages have their own stricter limit of 30/minute and 300/hour. The scan API and the tool pages are related products, but they are not the same quota.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the API excludes DNSBL
&lt;/h2&gt;

&lt;p&gt;Blacklist checks are 32+ additional DNS queries per domain. That is a different cost profile from the six cheap checks above.&lt;/p&gt;

&lt;p&gt;Keeping DNSBL out of the public API has three benefits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A scan stays fast and inexpensive.&lt;/li&gt;
&lt;li&gt;A single &lt;code&gt;scan_domain&lt;/code&gt; MCP call does not fan out into dozens of queries.&lt;/li&gt;
&lt;li&gt;The API's scope stays honest: it reports DNS configuration, not live reputation.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full blacklist scan lives in the web app at &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;mailers.email/scan&lt;/a&gt;. The API documentation also states that the public scan does not include blacklist checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  MCP: &lt;code&gt;scan_domain&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;The same cheap scan is available as a remote MCP server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"mailers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://mcp.mailers.email/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It exposes exactly one tool:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;scan_domain
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The tool is read-only. It does not access a mailbox, send email or require credentials. This keeps the permission model narrow enough for an agent to use without a long explanation.&lt;/p&gt;

&lt;p&gt;One implementation detail: MCP calls run a fresh scan rather than using the REST API's 24-hour cache. The REST endpoint is optimized for repeated checks; the MCP path is optimized for an agent asking once during a task.&lt;/p&gt;

&lt;p&gt;I wrote a separate MCP-focused post with client configuration and agent examples:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/xusteve/giving-ai-agents-an-email-deliverability-check-with-mcp-5en7"&gt;Giving AI agents an email deliverability check with MCP&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Error handling and API behavior
&lt;/h2&gt;

&lt;p&gt;The API returns JSON for normal application errors rather than an HTML error page.&lt;/p&gt;

&lt;p&gt;Expected behavior:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;400&lt;/code&gt; for an invalid or missing domain&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;405&lt;/code&gt; for a non-POST request&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;410&lt;/code&gt; for retired API routes; only &lt;code&gt;POST /v1/scan&lt;/code&gt; remains public&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;429&lt;/code&gt; when the IP budget is exhausted&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;502&lt;/code&gt; when an upstream scan cannot complete&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The health endpoint is available at &lt;code&gt;https://api.mailers.email/health&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy and limits, stated plainly
&lt;/h2&gt;

&lt;p&gt;This is a hosted service, not a self-hosted open-source scanner.&lt;/p&gt;

&lt;p&gt;What is true:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no account and no API key&lt;/li&gt;
&lt;li&gt;DNS-based checks only&lt;/li&gt;
&lt;li&gt;per-IP rate limits&lt;/li&gt;
&lt;li&gt;same-domain results cached for 24 hours&lt;/li&gt;
&lt;li&gt;no mailbox access and no email sending&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What is not claimed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no inbox-placement guarantee&lt;/li&gt;
&lt;li&gt;no permanent "no data stored" claim&lt;/li&gt;
&lt;li&gt;no blacklist check in the public API&lt;/li&gt;
&lt;li&gt;no 100-point full audit score&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Precise limits are more useful than vague promises.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would improve next
&lt;/h2&gt;

&lt;p&gt;The current design is deliberately small. The next useful steps would be:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Publish an OpenAPI file and client examples.&lt;/li&gt;
&lt;li&gt;Add a small response-schema version field.&lt;/li&gt;
&lt;li&gt;Add more granular error details for DNS timeouts.&lt;/li&gt;
&lt;li&gt;Keep the public API cheap while leaving heavier reputation checks in the web scanner.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;API and MCP docs: &lt;a href="https://mailers.email/api/scan/" rel="noopener noreferrer"&gt;mailers.email/api/scan&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Full web scanner: &lt;a href="https://mailers.email/scan/" rel="noopener noreferrer"&gt;mailers.email/scan&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub README and examples: &lt;a href="https://github.com/xusteve/mailers-scan-api" rel="noopener noreferrer"&gt;github.com/xusteve/mailers-scan-api&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Status: &lt;a href="https://mailers.email/status/" rel="noopener noreferrer"&gt;mailers.email/status&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you build something with the API or the MCP server, I would like to hear what worked and what was missing.&lt;/p&gt;

</description>
      <category>cloudflare</category>
      <category>email</category>
      <category>api</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Zero-Cost Uptime Monitoring + Status Page on Cloudflare's Free Tier</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Sun, 16 Aug 2026 14:51:16 +0000</pubDate>
      <link>https://dev.to/xusteve/zero-cost-uptime-monitoring-status-page-on-cloudflares-free-tier-cak</link>
      <guid>https://dev.to/xusteve/zero-cost-uptime-monitoring-status-page-on-cloudflares-free-tier-cak</guid>
      <description>&lt;h1&gt;
  
  
  Zero-Cost Uptime Monitoring + Status Page on Cloudflare's Free Tier
&lt;/h1&gt;

&lt;p&gt;Monitoring your websites shouldn't cost money or require a VPS. Most uptime tools need a server, a database, or a paid plan — even small hobby projects end up with a $5/mo bill just to check if a site is up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MonitorFlare&lt;/strong&gt; is a self-hosted uptime monitoring platform with a beautiful public status page that runs &lt;strong&gt;entirely on Cloudflare's free tier&lt;/strong&gt;: Workers + D1 + Pages. No server, no VPS, no monthly costs — and it deploys in about 60 seconds with a one-click button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://deploy.workers.cloudflare.com/?url=https://github.com/xusteve/MonitorFlare" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdeploy.workers.cloudflare.com%2Fbutton" alt="Deploy to Cloudflare" width="184" height="39"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's an enhanced fork of &lt;a href="https://github.com/nianshu2022/Uptime-Monitor" rel="noopener noreferrer"&gt;Uptime-Monitor&lt;/a&gt; (MIT), with a Vue 3 frontend, PWA support, and i18n in 9 languages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why MonitorFlare
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;MonitorFlare&lt;/th&gt;
&lt;th&gt;Typical hosted monitor&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$0/month&lt;/strong&gt; (Cloudflare free tier)&lt;/td&gt;
&lt;td&gt;$5–50/month&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deploy&lt;/td&gt;
&lt;td&gt;One click, no CLI&lt;/td&gt;
&lt;td&gt;Signup + config&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status page&lt;/td&gt;
&lt;td&gt;Built-in, PWA, RSS/email subscribe&lt;/td&gt;
&lt;td&gt;Often extra&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Notifications&lt;/td&gt;
&lt;td&gt;9 channels&lt;/td&gt;
&lt;td&gt;1–3 channels&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What it monitors
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTTP/HTTPS&lt;/strong&gt; — GET/POST/PUT/HEAD, custom headers, body, keyword validation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DNS&lt;/strong&gt; — A/AAAA/CNAME/MX/TXT/NS via DoH&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TCP ports&lt;/strong&gt; — via the Workers TCP Socket API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SSL certificate &amp;amp; domain expiry&lt;/strong&gt; — via crt.sh + rdap.org&lt;/li&gt;
&lt;li&gt;Error-rate thresholds and consecutive-failure escalation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Notifications: 9 channels
&lt;/h2&gt;

&lt;p&gt;DingTalk · WeCom (WeChat Work) · Feishu (Lark) · Telegram · Slack · Discord · ntfy · generic Webhook — plus &lt;strong&gt;email with 5 providers&lt;/strong&gt; (Resend, SendGrid, Mailgun, Postmark, AWS SES).&lt;/p&gt;

&lt;h2&gt;
  
  
  Status page
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Tag groups, incident timeline, scheduled maintenance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email subscription&lt;/strong&gt; for incident updates + &lt;strong&gt;RSS/Atom feed&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Custom branding, dark/light themes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PWA&lt;/strong&gt; — installable, offline-ready&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Internationalization
&lt;/h2&gt;

&lt;p&gt;9 languages: English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Deutsch · Français · Italiano · Español. Configurable timezone for all timestamps and alerts.&lt;/p&gt;

&lt;h2&gt;
  
  
  One-click deploy
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Click the Deploy button above&lt;/li&gt;
&lt;li&gt;Sign in to Cloudflare&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;ADMIN_API_KEY&lt;/code&gt; (your admin password)&lt;/li&gt;
&lt;li&gt;Done — the D1 schema auto-creates on first visit&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Or use GitHub Actions CI/CD, or manual &lt;code&gt;wrangler&lt;/code&gt; deploy — all documented in the README.&lt;/p&gt;

&lt;h2&gt;
  
  
  Live demo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Status page: &lt;a href="https://monitorflare.csr.plus" rel="noopener noreferrer"&gt;https://monitorflare.csr.plus&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public API: &lt;code&gt;GET /api/status&lt;/code&gt; returns JSON for integrations&lt;/li&gt;
&lt;li&gt;Feed: &lt;code&gt;GET /feed.xml&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open source
&lt;/h2&gt;

&lt;p&gt;MIT licensed, fully self-hosted, no telemetry. Fork it, deploy it, own your monitoring.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/xusteve/MonitorFlare" rel="noopener noreferrer"&gt;⭐ Star MonitorFlare on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I built MonitorFlare.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>monitoring</category>
      <category>uptime</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Generate a Certificate Signing Request with curl — No OpenSSL Needed</title>
      <dc:creator>xusteve</dc:creator>
      <pubDate>Sat, 15 Aug 2026 13:58:57 +0000</pubDate>
      <link>https://dev.to/xusteve/generate-a-certificate-signing-request-with-curl-no-openssl-needed-4ph9</link>
      <guid>https://dev.to/xusteve/generate-a-certificate-signing-request-with-curl-no-openssl-needed-4ph9</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqfbingu00u2q40ppccft.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqfbingu00u2q40ppccft.png" alt="CSR.plus" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Generate a Certificate Signing Request with curl — No OpenSSL Needed
&lt;/h1&gt;

&lt;p&gt;If you've ever ordered an SSL/TLS certificate, you know the drill: fire up a terminal, type &lt;code&gt;openssl req -new ...&lt;/code&gt;, and pray you get the flags right. One wrong &lt;code&gt;-subj&lt;/code&gt; format, one forgotten SAN, and your certificate authority sends the request back with a cryptic error.&lt;/p&gt;

&lt;p&gt;There's a simpler way: &lt;strong&gt;generate a Certificate Signing Request (CSR) with a single curl command&lt;/strong&gt; — no OpenSSL, no config files, no interactive prompts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a CSR, really?
&lt;/h2&gt;

&lt;p&gt;A CSR is just a block of encoded text (PKCS#10) that contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your &lt;strong&gt;public key&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Your domain name(s) — the Common Name (CN) and Subject Alternative Names (SANs)&lt;/li&gt;
&lt;li&gt;Optional organization details (O, OU, C, ST, L) for OV/EV certificates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You send it to a Certificate Authority (CA) like Let's Encrypt, DigiCert, or Sectigo. They verify you control the domain, sign a certificate using your public key, and hand it back. Your &lt;strong&gt;private key never leaves your machine&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The old way: OpenSSL
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl req &lt;span class="nt"&gt;-new&lt;/span&gt; &lt;span class="nt"&gt;-newkey&lt;/span&gt; rsa:2048 &lt;span class="nt"&gt;-nodes&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-keyout&lt;/span&gt; example.com.key &lt;span class="nt"&gt;-out&lt;/span&gt; example.com.csr &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-subj&lt;/span&gt; &lt;span class="s2"&gt;"/C=US/ST=California/O=ACME Inc/CN=example.com"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Works, but:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You have to remember the &lt;code&gt;-subj&lt;/code&gt; syntax and every flag&lt;/li&gt;
&lt;li&gt;Interactive prompts if you forget &lt;code&gt;-subj&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Easy to mess up SANs without a config file&lt;/li&gt;
&lt;li&gt;Painful inside CI/CD scripts where you want everything automated&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The new way: one curl command
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://csr.plus/docs/api" rel="noopener noreferrer"&gt;csr.plus API&lt;/a&gt; generates a standards-compliant CSR and private key for you. No signup, no API key, no account:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://csr.plus/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"common_name": "example.com"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the whole thing. Here's what comes back:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"csr"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-----BEGIN CERTIFICATE REQUEST-----&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s2"&gt;MIIB..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"private_key"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"-----BEGIN PRIVATE KEY-----&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s2"&gt;MIIE..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"algorithm"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"RSA-2048"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-08-15T10:00:00Z"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Paste the &lt;code&gt;csr&lt;/code&gt; into your CA's enrollment form, keep the &lt;code&gt;private_key&lt;/code&gt; safe, done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-world examples
&lt;/h2&gt;

&lt;h3&gt;
  
  
  With SANs (multi-domain certificates)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://csr.plus/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "common_name": "example.com",
    "sans": ["www.example.com", "api.example.com"]
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  ECDSA keys
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://csr.plus/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "common_name": "example.com",
    "key_type": "ecdsa",
    "key_size": "P-256"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  In a CI/CD pipeline (Shell + jq)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://csr.plus/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"common_name": "example.com", "sans": ["www.example.com"]}'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | jq &lt;span class="nt"&gt;-r&lt;/span&gt; .csr &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; example.com.csr

curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://csr.plus/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"common_name": "example.com", "sans": ["www.example.com"]}'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  | jq &lt;span class="nt"&gt;-r&lt;/span&gt; .private_key &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; example.com.key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  In Python
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://csr.plus/api/generate&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;common_name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;example.com&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sans&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;www.example.com&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]},&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;raise_for_status&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="nf"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;example.com.csr&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;w&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;csr&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;span class="nf"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;example.com.key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;w&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;private_key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Verify the result
&lt;/h3&gt;

&lt;p&gt;Never trust blindly — verify the CSR locally before submitting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;openssl req &lt;span class="nt"&gt;-noout&lt;/span&gt; &lt;span class="nt"&gt;-text&lt;/span&gt; &lt;span class="nt"&gt;-verify&lt;/span&gt; &lt;span class="nt"&gt;-in&lt;/span&gt; example.com.csr
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should see &lt;code&gt;verify OK&lt;/code&gt; and your subject fields. (OpenSSL is still useful for &lt;em&gt;verifying&lt;/em&gt; — you just don't need it to &lt;em&gt;generate&lt;/em&gt; anymore.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Is it private? Here's the security model
&lt;/h2&gt;

&lt;p&gt;The obvious question: "my private key is generated on &lt;em&gt;their&lt;/em&gt; server?"&lt;/p&gt;

&lt;p&gt;Here's how &lt;a href="https://csr.plus" rel="noopener noreferrer"&gt;csr.plus&lt;/a&gt; handles it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero storage&lt;/strong&gt; — key pairs are generated in server memory and destroyed immediately after the response&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero logging&lt;/strong&gt; — generation never writes logs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTPS only&lt;/strong&gt; with &lt;code&gt;Cache-Control: no-store&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional passphrase&lt;/strong&gt; — encrypt the private key (PKCS#8) before it's returned to you&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate limited&lt;/strong&gt; — 10 requests/minute/IP to keep the service free&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Honest caveat:&lt;/strong&gt; like any online CSR tool, this is designed for development, testing, and automation workflows. For production certificates, generate the key offline on your own hardware. The API docs say the same thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built this
&lt;/h2&gt;

&lt;p&gt;The repo is open source — &lt;a href="https://github.com/xusteve/csr-plus-generator" rel="noopener noreferrer"&gt;csr-plus-generator&lt;/a&gt;. The goal is simple: make CSR generation boring. One command, no signup, no flags to memorize, works from any CI/CD pipeline.&lt;/p&gt;

&lt;p&gt;Check out the other free tools too:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://csr.plus" rel="noopener noreferrer"&gt;CSR Generator&lt;/a&gt; — generate CSRs right in your browser&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://csr.plus/check" rel="noopener noreferrer"&gt;SSL Certificate Checker&lt;/a&gt; — inspect any domain's cert: issuer, expiry, chain&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://csr.plus/decoder" rel="noopener noreferrer"&gt;CSR &amp;amp; Certificate Decoder&lt;/a&gt; — decode and inspect any CSR&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://csr.plus/monitor" rel="noopener noreferrer"&gt;SSL Expiry Monitor&lt;/a&gt; — 24/7 expiry monitoring with email alerts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy certifying 🎉&lt;/p&gt;




&lt;p&gt;We are live on Product Hunt today! If CSR.plus has been useful for you, an upvote would mean a lot:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.producthunt.com/posts/csr-plus" rel="noopener noreferrer"&gt;&lt;strong&gt;Upvote CSR.plus on Product Hunt&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>openssl</category>
      <category>devtools</category>
      <category>ssl</category>
      <category>api</category>
    </item>
  </channel>
</rss>
