Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Magic login link not delivered: how to find and fix it

DLV-194High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A magic login link (also called a passwordless or email sign-in link) lets someone log in by clicking a link in an email. Your site or app creates a one-time token, puts it in a link and emails it. When the person clicks, they are signed in.

This issue means the email is never delivered. It may never be sent, be rejected by the receiving mail server, land in spam, or arrive so late that the link has already expired.

Why it costs you leads or sales

With magic links there is often no password to fall back on. If the email does not arrive, the person cannot reach their account, course, booking, order history or checkout. Many will not try again. They leave, and you may never know why because nothing shows as an error on your side.

Where login attempts go when the email is missingExample numbers
Where login attempts go when the email is missing (example)Request a link: 100 people; Email arrives (broken): 55 people; Click the link: 45 people; Logged in: 42 people03877100554542Request a linkEmail arrives (broken)Click the linkLogged inpeople

Example: out of 100 people who request a magic link, a delivery fault means many never get in. Numbers are illustrative.

Magic link journey
  1. Enter emailPerson asks for a login link
  2. Email sentSite hands message to mail service
  3. InboxMessage never arrives or is in spam
  4. Click linkNever happens
  5. Logged inPerson is locked out

The break is at email delivery. Everything after it is lost.

How to check if your site has it

Test the magic link flow
  1. Request a link with several mailboxes

    Use a Gmail address, an Outlook or Microsoft 365 address, a Yahoo address and a company domain. Note how long each takes and whether it lands in spam.

  2. Check the send log

    Open your email service or SMTP plugin log and look for the message. Statuses such as bounced, deferred, rejected or blocked point to the cause.

  3. Read the email headers

    In Gmail, open the message and choose Show original. SPF, DKIM and DMARC should each say PASS.

  4. Test the link itself

    Click it once in a normal browser. If it says expired or invalid, the email may have been delayed or opened by a link scanner first.

  5. Try repeated requests

    Request a link three times in a row. If later emails never arrive, a rate limit or throttle is probably blocking them.

Common symptoms and likely causes
SymptomLikely cause
Nothing in the send logSite never sends: plugin off, code error, or rate limit
Log shows bounced or rejectedDomain not authenticated, or sender blocked
Arrives in spamMissing DKIM or DMARC, poor sender reputation, spammy wording
Arrives after many minutesQueue or cron delay, throttled provider
Arrives but link says expiredToken lifetime too short or email scanner used the link
Only company addresses failStrict corporate filters or quarantine

How to fix it

Start with the sending method, then the domain records, then the content and link settings. Exact menus depend on your platform, theme and plugins.

Fix by platform
  1. Send through a real mail service

    The default PHP mail often fails. Install an SMTP or email API plugin and connect a provider such as your email host, Postmark, SendGrid or Amazon SES.

  2. Use a matching From address

    Set the From address to a mailbox on your own domain, not a free Gmail address.

  3. Check the login plugin

    In your magic login plugin settings, check the link lifetime and any limit on requests. Look at the plugin's own log if it has one.

  4. Send a test email

    Use the SMTP plugin's test tool to confirm delivery.

Fix the domain records and content
  1. Add SPF

    Publish one SPF TXT record that includes your sending service. Do not publish two SPF records.

  2. Add DKIM

    Add the DKIM records your provider gives you, usually CNAME or TXT.

  3. Add DMARC

    Start with a monitoring policy and your own report address.

  4. Keep the email simple

    Use a clear subject like Your sign-in link, one button, a plain-text link underneath and no heavy images.

  5. Separate transactional from marketing mail

    Use a different sending stream or subdomain so newsletter complaints do not hurt login emails.

  6. Add a resend option

    Show a Resend link button after about 30 seconds, and a tip to check spam.

Example DNS records (replace with your provider's values)text
SPF   TXT  example.com        v=spf1 include:_spf.your-provider.com ~all
DMARC TXT  _dmarc.example.com v=DMARC1; p=none; rua=mailto:dmarc@example.com

How to confirm it's fixed

Confirmation checklist
  • Links arrive in the inbox, not spam, for Gmail, Outlook, Yahoo and a company address
  • Delivery takes under a minute
  • SPF, DKIM and DMARC show PASS in the message headers
  • The link signs the person in on first click
  • Three requests in a row all arrive
  • The send log shows delivered status
Magic link email before and after

Before

  • Sent with default server mail
  • No DKIM, goes to spam
  • No resend option
  • Nobody notices failures

After

  • Sent through an authenticated email service
  • SPF, DKIM, DMARC pass
  • Resend button on the login page
  • Regular test of the full flow

How to prevent it happening again

Prevention habits
  • Test the login flow after changing email plugins, DNS, hosting or themes
  • Watch bounce and complaint rates in your email service
  • Use a dedicated test mailbox and request a link weekly
  • Keep SPF within the 10 DNS lookup limit when you add tools
  • Set provider alerts for failed sends if they offer them
  • Renew API keys and SMTP passwords before they expire

How FunnelGuard handles this

FunnelGuard does not check magic login link delivery yet. It is a possible future check, not something it does today.

What FunnelGuard does today is run your lead forms, checkouts and booking journeys on a schedule, check each step and the tracking hits, and check whether test leads reach the inbox and CRM. That can show you a broken form or lost lead emails near the same part of your funnel, but it does not confirm that a sign-in link arrived.

To watch for this yourself, keep a test mailbox, request a magic link on a schedule (a weekly calendar reminder works), and note the delivery time. Also watch the bounce and failure reports in your email service. If you want to see what FunnelGuard covers, the Free plan has 1 site and 2 journeys with no card, and there is a free read-only website audit.

Questions people ask

Why is my magic login link not arriving?

Most often the email is not sent through an authenticated service, so it is rejected or filtered as spam. Check your send log, then confirm SPF, DKIM and DMARC pass. Rate limits and a wrong From address are other common causes.

Why does my magic link email go to spam?

Usually your domain lacks DKIM or DMARC, the email comes from a shared or low-reputation sender, or the content looks like marketing. Authenticate your domain, use a transactional sending service and keep the message short and plain.

Why does my magic link say expired when I click it?

The email may have been delayed past the token lifetime, or a security scanner opened the link first and used it up. Extend the lifetime slightly and make the link open a confirmation page with a Sign in button.

How do I test if magic login emails are delivered?

Request a link using Gmail, Outlook, Yahoo and a company address. Check inbox versus spam, delivery time and the send log. Then click the link and make sure it signs you in.

How long should a magic link take to arrive?

Usually a few seconds, and ideally under a minute. If it regularly takes several minutes, look for a mail queue, cron delay or provider throttling.

Does FunnelGuard monitor magic login link delivery?

No, not yet. It is a possible future check. For now, use a test mailbox with a regular manual request, and watch bounce reports in your email service.

Should I offer a password as a backup to magic links?

It is a good safety net. If email delivery fails, people can still sign in. At minimum, offer a clear resend button and a support contact.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.