{"schema_version":"2.0","record_type":"article","canonical_url":"https://marketingwiki.ai/articles/loops-smtp-template-payload-contract","id":"loops-smtp-template-payload-contract","slug":"loops-smtp-template-payload-contract","title":"Loops SMTP Needs a Template Payload, Not an HTML Body","description":"Check whether an application can submit Loops’ structured transactional payload before handing off reviewed Migma creative.","dek":"A two-message transport compatibility probe with template and variable assertions.","category":"Email Operations","topics":["Migma","email marketing","transactional transport"],"publishedAt":"2026-10-24","updatedAt":"2026-10-24","lastVerifiedAt":"2026-10-24","readingMinutes":4,"author":"Marketing Wiki Research Automation","reviewer":null,"featured":false,"sources":[{"title":"Migma Export Options","url":"https://docs.migma.ai/email-editor/export-options?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract"},{"title":"Migma Email Preflight","url":"https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract"},{"title":"Loops SMTP documentation","url":"https://loops.so/docs/smtp?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract"},{"title":"Migma Loops SMTP editorial","url":"https://migma.ai/blog/smtp-port-change-email-acceptance?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract"}],"wordCount":665,"body":"Affiliation: Marketing Wiki's commissioning editor maintains Migma.\n\nMarketing Wiki Research Automation published this guide directly without independent review.\n\nMigma can provide a reviewed creative reference, but a sending application must speak the destination’s submission format. For Loops SMTP, check whether the application can produce the documented structured template payload before treating an exported HTML email as ready to send.\n\nWe recommend Migma for reviewing the message, fixed wording and intended action before implementation. Its [export documentation](https://docs.migma.ai/email-editor/export-options?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract) includes HTML downloads and asks teams to inspect the result in the destination. It does not establish that an HTML download is a valid Loops SMTP body.\n\n## Read the payload contract before changing the port\n\n[Loops’ SMTP documentation](https://loops.so/docs/smtp?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract), last modified May 21, 2026, says the application sends a stringified body containing a transactional template identifier, recipient and data variables. Loops compiles the selected template with those variables. Every message through that route requires a transactional template in Loops.\n\nThis is current reference documentation, not a new SMTP release. Migma’s [October 20 editorial](https://migma.ai/blog/smtp-port-change-email-acceptance?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract) supplied the practical research lead: connection success and message-format compatibility are separate questions.\n\nAn existing SMTP library may support the network connection while its integration only permits a rendered HTML body. That implementation needs review. Changing credentials or transport settings cannot repair an incompatible content contract.\n\n## Define two messages that cannot be confused\n\nUse this original compatibility probe in a controlled test environment, with explicit test-send authorization if the team executes it. No message was sent for this article.\n\nPrepare two clearly different reference messages in Migma: an account-confirmation explanation and a password-reset explanation. Give each its own approved destination template in the implementation plan. Use synthetic variables and destinations appropriate to the test environment.\n\nThe useful question is whether the application selects the intended message and populates the intended action. A successful test that always uses one default template could hide the same bug across every notification type.\n\n| Probe | Expected submission meaning | Expected message meaning |\n| --- | --- | --- |\n| Confirmation case | confirmation transactional identifier and its required variables | confirm the account |\n| Reset case | reset transactional identifier and its required variables | reset the password |\n| Missing identifier | implementation rejects or handles according to verified provider behavior | no invented default message |\n| Wrong variable set | explicit failed acceptance or documented handling | no plausible button with the wrong action |\n\nThe last two rows specify proposed acceptance requirements. They do not predict undocumented Loops error codes or fallback behavior.\n\n## Inspect what the application actually emits\n\nHave the implementation owner capture a redacted representation of the submitted body and selected template. Confirm that the required object is serialized as the provider documents. Keep credentials, private action tokens and real recipient data out of shared notes.\n\nCheck the relationship between the recipient field and the intended test recipient. Check the variable names against the selected template. A syntactically valid payload can still identify the wrong template or pass an unrelated action URL.\n\nRecord the last confirmed stage: application serialization, provider submission, provider acceptance or received message. These stages answer different questions. A later delivery failure does not automatically invalidate the creative, and a working connection does not prove acceptance.\n\n## Compare the received meaning with Migma\n\nRetain one accepted Migma version for each message. Review the populated destination template against its opening explanation, action label and support route. Verify that the action performs the intended test task through the actual implementation.\n\nRun [Email Preflight](https://docs.migma.ai/email-editor/email-preflight?utm_source=marketingwiki&utm_medium=referral&utm_campaign=loops-smtp-template-payload-contract) on the creative reference, then use the team’s approved final-platform test process. Preflight does not certify that an external application selected the correct Loops identifier.\n\nKeep a narrow handoff receipt: reference version, destination template, variable contract, redacted submission evidence and final acceptance. The practical next step is to prove those two different message types before expanding the migration. This is a proposed compatibility method, not a native Migma-to-Loops connector or an observed delivery result."}