BlogComparisons · September 29, 2026 · 8 min read

Contact Form 7 Email Testing: Mailtrap vs Mailpit vs smtp4dev vs Ethereal Email vs Mailosaur

Compare Mailtrap, Mailpit, smtp4dev, Ethereal Email and Mailosaur for controlled CF7 email tests, with hosting, access, limits and delivery boundaries.

Five inbox trays surround an envelope beside a magnifying glass.
Conceptual illustration generated for this article; not a product screenshot or measured result.

Before a Contact Form 7 notification reaches a real customer or colleague, a controlled test inbox can show what the site generated. You can inspect the subject, recipients, message body and attachments without using an ordinary mailbox as your development environment. The right tool depends on whether you need an occasional manual check or repeatable automated assertions.

Mailtrap, Mailpit, smtp4dev, Ethereal Email and Mailosaur cover different versions of this job. Some are hosted services; others run on infrastructure you maintain. This comparison uses official documentation and published pricing checked on September 29, 2026. It does not report a hands-on benchmark or claim that any tool proves production inbox placement.

Know which part of the email path you are testing

Contact Form 7 prepares notifications through the site’s WordPress mail configuration. A test SMTP destination can capture the generated message when the staging site’s mail transport is configured to use it. Installing a test inbox does not automatically connect it to WordPress, and a transport plugin’s built-in test email does not exercise the complete CF7 form template.

Keep the staging configuration separate from production and use synthetic inquiry details. Verify which path actually handles mail: a provider-specific API transport may not use the SMTP settings you expected. Also inspect forwarding and relay options before assuming captured messages remain inside the test environment.

For actual outgoing service selection, read our transactional email service comparison. For WordPress transport configuration, see the SMTP plugin comparison. The tools below focus on controlled testing.

Compare capture, hosting and cost

Product Working model Price or license Best-fit question
Mailtrap Hosted Email Sandbox Free: 50 test emails/month; paid sandbox plans Does the team want a managed place to inspect generated messages?
Mailpit Self-hosted SMTP capture and web interface Free, MIT-licensed software Can the development team maintain its own capture service?
smtp4dev Self-hosted test mail server with protocol inspection Free, BSD-3-Clause-licensed software Does troubleshooting require SMTP-session detail?
Ethereal Email Hosted fake SMTP service Free public test accounts Is a temporary, synthetic message check sufficient?
Mailosaur Hosted test inboxes, SMTP capture and automation APIs Personal from $20/month billed annually; trial available Will tests assert message content as part of a recurring suite?

Published prices are in US dollars where shown. Billing terms, plan limits and taxes can affect the actual purchase. “Free software” for a self-hosted server describes its license, not the cost of operating and maintaining it.

Mailtrap: managed sandbox inspection for a team

Mailtrap’s Email Sandbox is a hosted destination for test messages. Keep it distinct from the company’s Email API/SMTP sending product when comparing quotas. The pricing page lists a free sandbox with 50 test emails per month, one user, one sandbox and storage for ten emails in that sandbox.

Strengths: a managed inbox reduces the infrastructure work required for a small CF7 review. The product offers message inspection and API access, with capabilities and allowances depending on the plan. A team can use a named sandbox for one staging site and retain recognizable synthetic markers in test subjects.

Limitations: monthly message allowance and retained-message capacity are different limits. Ten stored messages are not the same as ten permitted sends per month. Review seats, sandbox count and access needs before planning a multi-site agency workflow. Check forwarding settings explicitly instead of relying on the word “sandbox” alone.

Cost and fit: the checked Basic sandbox price is $17 monthly, or $14 per month when billed annually. Choose Mailtrap when managed manual inspection is the immediate need and its limits fit the expected test volume. Do not apply the sending product’s free allowance to the sandbox comparison.

Mailpit: lightweight capture under your team’s control

Mailpit is a self-hosted email and SMTP testing tool. Its documentation describes a web interface, an API, message inspection and deployment as a binary or container. The official repository identifies the MIT license.

Strengths: it suits developers who want a mail-capture service alongside a local or staging application. The documented inspection tools include HTML compatibility checks and link checking. An API provides a route to automated checks when the team is ready to maintain them.

Limitations: the team owns network access, storage and service availability. A local address reachable from a developer’s laptop is not necessarily reachable from a remotely hosted WordPress site. Plan the connection according to the actual deployment rather than copying a localhost value into an unrelated server.

Cost and fit: there is no software subscription fee, but operation still needs an owner. Mailpit supports optional forwarding or relaying, so review those settings as part of test isolation. Choose it when the development team wants direct control and can maintain a scoped test service without changing shared production mail routing.

smtp4dev: useful when protocol behavior needs investigation

smtp4dev is a self-hosted development mail server whose official repository documents SMTP capture, a web interface, session inspection and APIs. It is free, open-source software under the BSD-3-Clause license, with supported deployment options for common desktop and server environments.

Strengths: session detail can help separate a connection problem from a message-template problem. For a CF7 staging investigation, that means asking two concrete questions: did the application connect to the expected server, and did the captured message contain the intended fields? Those questions are easier to resolve when transport evidence and message content can be inspected together.

Limitations: operating it requires the same attention to reachability and access as any development service. Its relay capabilities are useful in some workflows but require deliberate configuration. A message visible in smtp4dev does not establish that a recipient’s production provider would accept or place it in the inbox.

Cost and fit: choose smtp4dev when protocol troubleshooting is part of the team’s regular work. For someone who only needs to inspect one notification occasionally, maintaining a server may be more responsibility than the task warrants. Compare the maintenance burden with a hosted inbox, not only the purchase price.

Ethereal Email: a quick destination for synthetic checks

Ethereal Email describes its public service as a free fake SMTP environment: applications submit messages for inspection, while the service does not actually deliver them to the addressed recipients. It is commonly associated with Nodemailer, but an application that can use the supplied SMTP connection can use that testing pattern.

Strengths: it can be a convenient way to inspect a small synthetic message without provisioning a server. For a CF7 staging check, the useful outcome is seeing whether the generated message contains the expected subject, body and addressing information.

Limitations: do not design a durable team archive around a temporary testing account. The public account model is also different from receiving arbitrary inbound mail at a normal business address. Ethereal documents a distinction between public testing accounts and additional capabilities for EmailEngine subscribers; those are not interchangeable assumptions.

Cost and fit: choose the free public service for short-lived development checks with synthetic data. If your workflow needs managed seats, predictable retention or a maintained automated inbox, define those requirements and evaluate another option against them. Free access is useful only when its operating model fits the task.

Mailosaur: useful when email checks become automated assertions

Mailosaur provides hosted test inboxes and APIs for checking email content. Its SMTP documentation explains that each inbox has SMTP credentials and can capture messages sent by the application regardless of their addressed recipient. That makes it a candidate for a staging transport as well as a programmatic test workflow.

Strengths: a recurring test can look for a uniquely marked message and assert that required content is present. For CF7, useful assertions might concern the selected service, the visitor’s question and the notification recipient. Keep those assertions tied to the business requirement rather than checking only that some email arrived.

Limitations: automated checks need isolation between runs, timeouts and a stable method of identifying the correct message. A shared subject such as “Contact form” is inadequate when several tests run together. Capture also does not prove production-domain authentication or inbox placement.

Cost and fit: the checked pricing starts Personal at $20 per month billed annually, with one user and one inbox; a 14-day trial is offered. Daily and monthly limits both matter. Choose Mailosaur when maintained automation is a real requirement, rather than paying for a testing platform before defining the checks.

Use one acceptance checklist whichever tool you select

Send a valid synthetic inquiry through the staging form itself. Find its unique marker in the capture tool and inspect the subject, From, To, Reply-To and body. If the form has an additional notification, check that path separately. Exercise optional fields and a harmless test attachment only when attachments belong to the form’s intended workflow.

Record the form version, transport destination and observed result. Then test a controlled failure and confirm the team can distinguish a form validation issue from a transport issue. Never infer production delivery solely from a captured message; use separate production diagnostics when that is the question.

Choose by maintenance and evidence needs

Choose Mailtrap for managed sandbox review, Mailpit for developer-controlled capture, smtp4dev for detailed protocol investigation, Ethereal Email for temporary checks and Mailosaur for recurring automated assertions. The best choice is the one whose evidence your team will actually inspect.

Combine this with our form testing checklist. We publish CF7 Analytics, whose free plugin supports documented reporting inside WordPress. Reporting, test capture and production delivery verification answer different questions; none should be substituted for the others.

Sources and review scope

Official documentation reviewed on September 29, 2026. Selection advice is editorial analysis of documented capabilities; no comparative performance testing was performed.