WordPress
When WordPress says “sent”
Use a controlled form submission to trace a WordPress notification beyond a successful wp_mail() call.
A contact form displays its thank-you page, but the sales team never sees the enquiry. The page confirms the form's response to the visitor. The notification can still fail later, and a generic test email can skip the very code path that failed.
Reproduce the actual notification
Use a form you control and a test mailbox you can inspect. Give the submission a distinctive reference and record the time. Check the notification rule, destination address and any conditions that choose a recipient. Test with the form values that select the affected branch.
Look at the address used as the sender. A visitor's address belongs in Reply-To when the site sends the notification using its own verified sender. This lets the team reply to the visitor while keeping the site's sending identity consistent.
Follow the mail function
WordPress documents a true return from wp_mail() as successful processing by the chosen mail method. You still need evidence from the transport. If your authorised diagnostic tooling captures wp_mail_failed, inspect the error around the test time. Limit logging to what the investigation needs. Form bodies and attachments can contain confidential information.
If the site hands mail to an external relay, search there for the recipient and test time. No event after a confirmed attempt points back toward the connection or the configured mail path. A recorded rejection gives you a reason to address. A receiving-server acceptance moves the investigation to that mailbox's filtering or routing.
Repeat the same test
Change one setting and submit the same form branch with a fresh reference. Verify the message arrived, then click Reply in the test mailbox and inspect the proposed recipient. A notification that arrives but routes the reply to the website itself still leaves the original enquiry unanswered.