{"uid":"cap_jA1-VBja08pHpsqr8oDvO","slug":"smtp-envelope-transaction-command-sequencing-validator-5156cb59","name":"SMTP Envelope Transaction Command Sequencing Validator","description":"An offline SMTP client test agent needs whether a normalized command ledger respects envelope sequencing and whether a rejected end-of-DATA still resets the transaction before the next MAIL, without sending mail or exposing contacts.","url":"https://detect.halowerk.com/v1/F-A-NIGHT-PROTOCOL-SMTP/smtp-envelope-transaction-command-sequencing?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["smtp_envelope"],"properties":{"smtp_envelope":{"type":"object","required":["claim","events"],"properties":{"claim":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"events":{"type":"array","items":{"type":"object","required":["op","outcome"],"properties":{"op":{"type":"string","maxLength":1024},"outcome":{"type":"string","maxLength":1024}},"additionalProperties":false},"maxItems":512}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y-KxXhaIY5nlrC7U58Lf-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a normalized SMTP command ledger respects envelope sequencing rules and correctly resets transaction state after a rejected end-of-DATA command.","exampleAgentPrompt":"Check whether this SMTP command ledger respects envelope sequencing and confirm that after a rejected end-of-DATA the transaction resets correctly before the next MAIL — here are the events: [{\"op\":\"EHLO\",\"outcome\":\"250\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"},{\"op\":\"RCPT TO\",\"outcome\":\"250\"},{\"op\":\"DATA\",\"outcome\":\"554\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"}] with a claim value of 1.","exampleUseCases":[{"title":"SMTP client protocol conformance testing","prompt":"I'm building an offline SMTP client and need to verify that this sequence of commands — EHLO, MAIL FROM, RCPT TO, DATA rejected with 554, then another MAIL FROM — correctly resets the transaction state. Can you validate the envelope sequencing for me? The claim value is 42 and the events are [{\"op\":\"EHLO\",\"outcome\":\"250\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"},{\"op\":\"RCPT TO\",\"outcome\":\"250\"},{\"op\":\"DATA\",\"outcome\":\"554\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"}]."},{"title":"Rejected DATA transaction reset verification","prompt":"After a DATA command gets rejected with a 550 error in my SMTP trace, does the server correctly reset the transaction envelope before accepting the next MAIL FROM? Here's my command ledger with claim 100: [{\"op\":\"MAIL FROM\",\"outcome\":\"250\"},{\"op\":\"RCPT TO\",\"outcome\":\"250\"},{\"op\":\"DATA\",\"outcome\":\"550\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"}]."},{"title":"SMTP envelope ordering rule compliance check","prompt":"Can you check whether this SMTP command sequence has correct envelope ordering — specifically that MAIL FROM comes before RCPT TO and DATA — using claim value 7 and these events: [{\"op\":\"EHLO\",\"outcome\":\"250\"},{\"op\":\"RCPT TO\",\"outcome\":\"503\"},{\"op\":\"MAIL FROM\",\"outcome\":\"250\"},{\"op\":\"RCPT TO\",\"outcome\":\"250\"},{\"op\":\"DATA\",\"outcome\":\"250\"}]?"}],"resultDescription":"Returns a conformance verdict indicating whether the supplied SMTP command event sequence respects envelope sequencing rules, whether a rejected end-of-DATA correctly triggers a transaction reset, and a check against the supplied claim value — all without sending actual email or exposing any contact information.","failureModes":["Malformed smtp_envelope object missing required claim or events fields returns a 400 validation error","Events array exceeding 512 items is rejected","Individual op or outcome strings exceeding 1024 characters are rejected","Claim value outside the range -1000000000000 to 1000000000000 is rejected","Empty events array may produce inconclusive sequencing result"],"whenToPreferThis":"Use this endpoint when you need offline, side-effect-free SMTP protocol conformance testing — specifically to verify envelope command ordering and post-rejection transaction reset behavior without sending any mail or touching real SMTP infrastructure. Prefer this over live SMTP testing tools when privacy, reproducibility, or no-send guarantees are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:39:56.946Z","isFirstParty":false,"canonicalSlug":"smtp-envelope-transaction-command-sequencing-validator-5156cb59"}