Sending involves several stages. The browser passes data to the application, the application uses a mail server, and the message still has to reach the recipient. Success near the start does not confirm the end of that journey.

Before changing an SMTP password or disabling protection, trace one recognisable attempt. That gives us a chance to locate where the submission stopped.

Did the form actually submit the enquiry?

First look at what happens after clicking. Does the form show a sending state? Does it identify an invalid field? Does a failure preserve the message? These behaviours help both the investigation and the visitor.

A success message should follow the application's response. If it appears regardless of the result, it tells us little. Its wording matters too: backend acceptance does not yet establish delivery to a mailbox.

The Network panel in DevTools is useful here. After one attempt, we can locate the submission request and inspect the response. A recognisable subject, approximate time and submission identifier, if available, help connect that result with logs and an email later.

Why can more clicks make diagnosis harder?

Unlabelled attempts quickly become confusing. It is difficult to match an email to a response or establish which change helped.

A broken connection may also create a duplicate. The server accepts a submission but the browser misses its response, so the visitor clicks again. Disabling the button while sending reduces accidental clicks without solving every server-side retry.

A controlled failure should therefore allow a correction or retry without deleting the message. Important submissions also need a deliberate way to recognise repeated requests. The button's appearance alone cannot provide that.

Is the form rejecting data or failing to send?

Required fields and email-format checks make a form easier to complete correctly. A request sent directly to the server can bypass them. MDN explains the limits of client-side validation.

The backend must check allowed fields, lengths and data types itself. Validation is one part of protection; OWASP describes its role and limits.

Distinguish an invalid address entered by a visitor from a plausible enquiry rejected by the server. The first calls for a field correction. The second may point towards configuration, request limits or anti-spam protection.

The symptom suggests where to look next. Exact messages depend on the application, but several common situations can be organised:

ObservationWhere to start
No sending request appearedField state, button handling and script errors
The server reported invalid dataValidation message and required fields
The server refused another attemptRequest limit, waiting period and protection checks
The backend reported a transport errorMail configuration and a controlled error record
The application accepted the submission but no mail arrivedSMTP stage, correct recipient and subsequent delivery status

Examine the response body as well. Some poorly designed forms return 200 even when sending fails. A green Network row therefore does not establish that the form works.

Could CAPTCHA reject a valid enquiry?

The visible widget is only part of the implementation. With Turnstile, the application must validate the received token through Siteverify, as Cloudflare's documentation explains.

If a plausible submission is rejected, inspect that validation result and configuration for the correct domain. Removing the check may make the interface display success without explaining the earlier fault. A correction should restore sending together with the required protection.

SMTP works, but the email is still missing. What should you check?

For connection errors, check the server address, port, encryption settings and credentials. Use the mailbox provider's instructions instead of guessing the combination.

The password belongs in private server configuration. It must not appear in browser code or a public repository.

After SMTP acceptance, inspect the intended mailbox, its spam folder and any bounce message. In Nodemailer's SMTP result documentation, accepted identifies recipients accepted by the server. It confirms acceptance at that transport stage; it does not prove that the message reached the recipient's inbox.

Also confirm that the configured destination is the inbox you are actually checking. A basic address mistake can survive a surprisingly elaborate investigation.

Who sends the message, and who should receive a reply?

A form message should use a sender consistent with your mail configuration. After validation, the visitor's address can be used as Reply-To so that a reply reaches the right person. Nodemailer's message configuration explains these fields.

Putting the visitor's address in the sender field does not authorise your server to send from their domain. It also makes the message's origin harder to understand. Check domain authentication against your mail provider's instructions instead of copying arbitrary DNS records intended for another service.

A connection works, but was sending tested?

Nodemailer's verify() method checks connection and authentication. It does not send a message or establish that a particular sender will be accepted. A successful connection check is therefore separate from testing the complete route to the inbox.

After an actual attempt, keep the information needed for diagnosis: time, identifier and a controlled result for each stage. The full submission and SMTP password do not belong in a public bug report. When passing a problem to a developer, “attempt at 14:10, backend accepted it, SMTP refused the recipient” provides a useful starting point without disclosing private correspondence.

How can you test the whole submission journey?

For a final check, make one traceable attempt:

  1. Send clearly labelled test content to your own or an agreed mailbox.
  2. Compare the form's message with the application's actual response.
  3. Check the server-side sending result and intended recipient.
  4. Find that same message in the mailbox, including spam and any delivery-failure notice.

An invalid-data attempt is useful separately. The form should explain the correction needed instead of showing success or deleting all the input. Recording time and outcome helps pass the problem to a developer without sharing private correspondence or credentials.

Repeat the check after changes to hosting, mail configuration or sending code. The form exists to enable contact. Following the journey from a click to a recognisable message tells us whether it fulfils that purpose.

Sources and documentation