Skip to content

Everyday Use

Add Automatic Login Links to WordPress Emails (PRO)

Want recipients to jump straight into their account from any email your site sends? Magic Link PRO's Outgoing Emails feature automatically appends a fresh, secure login link to your outgoing WordPress emails, so people click through and are signed in with no password. You turn it on under Magic Link → Settings → General, and it is a PRO feature.

PRO feature

Outgoing Emails and the {magic-link} / {magic_link} merge tags require Magic Link PRO. The free version does not append login links to outgoing WordPress emails.

Outgoing Emails is the PRO setting that hooks into WordPress email delivery and adds a one-click login link to messages your site already sends.

How It Works

  1. When WordPress sends an email, Magic Link PRO generates a fresh Magic Link for the recipient.
  2. The link is appended to the email using your configured Link Text, or placed wherever you add a {magic-link} merge tag in your content.
  3. The recipient clicks the link and is signed in — no username or password required.

Each generated link follows your Token Lifespan and Token Validity settings, so it expires like any other Magic Link. See Magic Link expiry settings.

How to Enable Outgoing Emails (PRO)

  1. Go to Magic Link → Settings → General in the WordPress admin.
  2. Find the Outgoing Emails section.
  3. Turn on the Enable switch. It is off by default.
  4. Set Link Text — the clickable text shown for the appended link. The default is "Log in to your account instantly".
  5. Click Save Changes.

Instead of appending the link at the end of the message, you can position it precisely using a merge tag. Add {magic-link} (or {magic_link}) to your email content and Magic Link PRO replaces it with a fresh login link for the recipient. See insert a Magic Link into your emails.

Settings Reference

Setting What it does Default Availability
Outgoing Emails → Enable Appends a fresh login link to outgoing WordPress emails Off PRO
Outgoing Emails → Link Text The clickable text used for the appended link "Log in to your account instantly" PRO
{magic-link} / {magic_link} merge tag Inserts a fresh login link at that spot in the email PRO

Common Uses

  • Customer emails — send customers directly into their account area.
  • Membership sites — give members quick access to member-only content.
  • Online courses — link students straight to their lessons or dashboard.
  • Customer portals — speed up access to account-related pages.

Conclusion

Magic Link PRO's Outgoing Emails feature turns everyday WordPress emails into one-click doorways to a user's account, and the {magic-link} merge tag lets you place the link exactly where you want it. Every generated link still respects your expiry rules. To control link lifetime, see Magic Link expiry settings; to compare tiers, see free vs PRO features.

FAQs

Is automatic login in outgoing emails a free feature?

No. Appending login links to outgoing WordPress emails is the Outgoing Emails feature in Magic Link PRO, and the {magic-link} / {magic_link} merge tags are PRO as well. The free version does not add login links to outgoing emails. You enable Outgoing Emails under Magic Link → Settings → General.

With Magic Link PRO, go to Magic Link → Settings → General, open the Outgoing Emails section, turn on the Enable switch (off by default), set the Link Text, and click Save Changes. From then on, outgoing WordPress emails include a fresh login link for the recipient.

Yes. Every link generated for an outgoing email follows your Token Lifespan and Token Validity settings, exactly like any other Magic Link. When a link passes its lifespan or reaches its usage limit, it stops working and the recipient must request or receive a new one.

Yes. Instead of letting Magic Link PRO append the link at the end, add the {magic-link} (or {magic_link}) merge tag to your email content, and PRO replaces the tag with a fresh login link for the recipient. This lets you place the link inside a button, sentence, or footer. See insert a Magic Link into your emails.

By default the appended link uses the text "Log in to your account instantly", which you can change in the Link Text field under Magic Link → Settings → General → Outgoing Emails. If you use the {magic-link} merge tag instead, the surrounding text is whatever you write around the tag in your email content.

Was this page helpful?