Help for owners
Customers do not receive my password reset and order emails
Short answer
Automatic emails fail for a few separate reasons: the sending service rejected them, the address is on a suppression list after an earlier bounce, the domain is not authenticated, or the receiver filtered them. Find out which by looking at the sending service's log for one failed message.
Does this sound like your situation?
- Customers write that they never got the reset link or the receipt.
- It works for some addresses and not others.
- Mail reaches my own address but not Gmail, Yahoo or company addresses.
- The app says email sent, but nothing arrives.
- It worked until a recent change of host, domain or email service.
Why does this happen?
The address is suppressed after an earlier bounce
Services keep a suppression list. For Amazon SES, a message to an address on the account-level suppression list is accepted but not sent, and only hard bounces are added automatically. Entries stay there until removed.
Confirmed by docs.aws.amazon.com
The domain is not verified or authenticated
Sending services need SPF and DKIM records for your domain. Mailgun lists SPF, DKIM, CNAME and MX records as required and says DNS changes can take 24 to 48 hours to propagate.
Confirmed by documentation.mailgun.comTechnical detail: Mail from your own domain keeps landing in the spam folder
The sender identity is not verified
SendGrid requires customers to verify a sender identity, either a single sender, which needs a confirmation click in the inbox, or an authenticated domain.
Confirmed by twilio.com
The app uses the server's plain mail function
Mail sent straight from a web server is often rejected or filtered, and the app may report success regardless.
Technical detail: PHP mail() returns true but the email never arrives
The receiver filters it
Google and Yahoo require authentication and low spam rates, and mail that does not meet them can be rejected or placed in spam.
Confirmed by support.google.com
What can I do about it today?
- Test with one real address of your ownTrigger a password reset to a Gmail address you control and check the inbox and the spam folder.
- Ask for the sending service's activity logYour developer can look up one failed message there. The status such as delivered, bounced, suppressed or blocked tells you where it stopped.
- Do not ask the customer to retry again and againRepeated attempts on an address that is suppressed or blocked only add noise. Ask them to check spam, then wait.
- Note when it startedA recent change of domain, host, email service or form plugin usually points to the cause.
- Offer another route meanwhileFor critical resets, give support a manual way to help customers who are locked out.
When should I bring someone in?
- Password resets or order mails fail for many customers.
- The app reports success but the service log shows no message.
- Only one big mailbox provider rejects your mail.
How do I handle it?
- Trace one message end to endFrom the app, to the sending service, to the receiving server, with timestamps and the exact status at each step.
- Separate the causesSuppression, authentication, sender verification, app code and filtering each have a different sign. I rule them out one by one.
- Fix the sending routeAuthenticated domain, a proper sending service, errors from that service logged by the app instead of ignored.
- Keep transactional mail apartResets and receipts go through a stream separate from newsletters so a marketing complaint does not block them.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Is the email lost or only delayed?
The sending service's log answers it. If there is no entry, the app never handed it over. If there is an entry with a bounce or suppression, the service refused it.
Why does the app say sent?
Many apps count a message as sent once it is handed to a mail function, without checking the outcome.
Can a suppressed address be removed?
Amazon SES lets you remove addresses from the suppression list once you know the address is valid.
Do I need a new email service?
Not necessarily. Often the existing one only needs verified domain records and a corrected app set-up.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Found a mistake? Tell me.
For your developer: the technical fixes
Messages from our own domain arrive in Gmail's spam folderMail from your own domain keeps landing in the spam folderWarning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missingPHP mail() returns true but the email never arrivesNo exception is thrown and no email arrivesLaravel says the email was sent, but nothing arrives5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM5.7.57 Client was not authenticated to send anonymous mail during MAIL FROM