Skip to content

How to Set Up Online Store Order Emails So They Stay Out of Spam

Order confirmations and receipts are the emails customers most want to see. Here is how to authenticate them and keep them out of the spam folder.

10 min readUpdated Nov 28, 2026By XPASS Editorial Team

How to Set Up Online Store Order Emails So They Stay Out of Spam

An order confirmation is the one email a customer actively waits for. They have just paid, they want to see the order number, and they want proof that the shop is real. If that message lands in the spam folder, or never shows up, the result is predictable: the customer worries, writes to support, opens a dispute with their bank, or simply decides not to buy from you again.

The good news is that most spam problems with order emails come from a short list of fixable causes. This guide walks through why transactional mail gets filtered, which DNS records to publish, how to choose the sender, what to do about the content and layout, and how to test the result. It is written for owners of small and mid-sized online stores, and it assumes you use a store platform or plugin that sends the emails for you. If you are also planning automatic receipts, read which DNS settings to prepare before using an automated receipt system, which covers the records in more detail.

Why order emails end up in spam

Receiving mail servers are trying to answer one question: is this message genuinely from who it claims to be, and do the recipients want it? To answer, they weigh many signals. No single signal decides, but a handful are particularly important for a store.

  • Identity. Does the sending server have permission to send for the domain in the From address? This is what SPF checks.
  • Integrity. Is the message signed by the domain, and is the signature intact? This is what DKIM checks.
  • Alignment and policy. Do the visible From domain and the authenticated domains match, and what does the domain owner say to do when they do not? This is what DMARC adds.
  • Reputation. Has this domain and this sending address behaved well in the past, or has it been associated with complaints?
  • Content. Does the message look like a receipt, or like unsolicited promotion?
  • Engagement. Do recipients open it, reply to it, move it out of spam, or ignore it?

A new store usually starts with no reputation at all, which is a weaker position than many owners realise. If, in addition, the store sends from a shared address on a platform domain, or from a mailbox that was never authorised in DNS, filters have very little reason to give the benefit of the doubt.

The four common setups, and what they mean for spam

Before touching DNS, work out how your store actually sends mail. There are usually four patterns.

Setup How it works Typical spam risk
Platform default sender The store software sends from its own shared domain Lower control; customers see another name
Your From address, no authentication You type your address but publish no records High; looks like forged mail
Your domain, authenticated with the platform You add the platform's records to your DNS Better; clear proof of permission
Your domain, via a dedicated email-sending service A service built for transactional mail signs with your domain Often the most controllable setup

The second pattern is the one that causes most trouble. A store owner enters orders@theirshop.com as the sender but never tells DNS that the platform may send for that domain. To a receiving server this looks the same as a forged message, and a growing number of providers treat it that way.

The records to publish: SPF, DKIM and DMARC

You do not need to become a mail engineer. You need to publish three kinds of record and keep them accurate.

SPF

SPF, specified in RFC 7208, is a single text record in DNS that lists which servers may send mail for your domain. Your store platform or sending service will tell you what to include, usually a line starting with v=spf1 followed by an include entry for the service.

Three habits avoid most SPF trouble. Keep exactly one SPF record per domain, and add new services to it instead of creating a second one. Do not exceed the limit on DNS lookups that the standard sets, which is easy to hit when you stack many services. And end the record with a clear policy mechanism recommended by your provider rather than something that accepts everything.

DKIM

DKIM, specified in RFC 6376, adds a digital signature to each message. You publish a public key in DNS under a name your sending service gives you, and the service signs outgoing mail with the matching private key. Receivers fetch the key, check the signature and learn that the message really passed through a party authorised by the domain and was not altered.

Publish the DKIM record exactly as supplied, then use the service's verify button. If the record does not verify, the most common causes are a typo, a record added to the wrong zone, or a DNS host that silently shortens long values.

DMARC

DMARC, described in RFC 7489, ties SPF and DKIM to the domain that the customer actually sees in the From line, and tells receivers what to do when a message fails. It also requests reports, which are valuable because they show who is sending mail in your name.

Start with a monitoring policy and a mailbox that receives the reports. Read them for a few weeks. You will probably discover legitimate services that you forgot to authorise, and you may see forged mail. Only after everything legitimate passes should you consider a stricter policy.

For a fuller explanation of why spoofing matters to a brand, see how to reduce email spoofing and phishing in your brand's name. The Email Security page also gives an overview of the protection areas involved.

Choosing the sender address and name

Records prove who sent the mail. The visible sender decides how the customer reacts when they see it in a crowded inbox.

  • Use a recognisable name. The display name should be your shop name, not an internal label or a string of characters.
  • Use a role address on your own domain. Something like orders@ or hello@ on your domain looks professional and is easy for customers to recognise on later emails.
  • Make replies work. Order emails that say "do not reply" frustrate customers and give filters less engagement to learn from. Set a reply-to address that a person checks. A mailbox on your own domain, such as those described on the business email page, is the simplest way.
  • Keep the address consistent. Changing the From address or name frequently makes your mail look less predictable to filters and to customers.
  • Keep marketing and orders separate. Where possible, send promotional newsletters from a different address, or even a subdomain, so complaints about promotions do not damage the reputation of your order emails.

Content and layout habits that help

Content does not rescue a badly authenticated message, but it can sink a well-authenticated one. Order emails should look like what they are.

  1. Put the essentials first. Order number, items, total, shipping or pickup details and a way to contact you. A receipt that gets to the point looks like a receipt.
  2. Write a clear subject line. "Your order 12345 is confirmed" is better than a vague phrase or capital letters and exclamation marks.
  3. Balance text and images. A message that is one large image with no text is a classic spam pattern. Use real text for the important parts.
  4. Keep links honest. Link text should match the destination, and links should point to your own domain wherever possible. Avoid link shorteners in transactional mail.
  5. Limit promotion. A single line pointing to a related product is fine. A page of banners turns a receipt into an advertisement.
  6. Include your business identity. Name, address and a contact method in the footer help recipients and some regulations.
  7. Avoid attachments unless needed. If you attach an invoice file, use a normal format and a clear file name.
  8. Make sure the plain-text version exists. Many systems send both an HTML and a plain-text version. A missing text part can look unusual to some filters.

A step-by-step setup for a small store

Here is a path you can follow in an afternoon.

  1. Find out how your store sends. Check the platform's email or notification settings. Note the sender address, the sending method and any domain-authentication option.
  2. Decide the sender. Choose orders@ or hello@ on your own domain, and create a mailbox for replies.
  3. Add the platform's records. Many platforms show the exact SPF include and DKIM records to publish. Add them in your DNS host and click verify.
  4. Check that SPF is a single record. List the TXT records on your domain and confirm that only one begins with v=spf1.
  5. Publish DMARC with a monitoring policy. Point reports to a mailbox you read.
  6. Send test orders. Place small test orders and send the confirmation to several providers: a consumer mailbox, a work mailbox and at least one other provider. Check inbox versus spam placement.
  7. Inspect the headers. In the message source, look for pass results for SPF, DKIM and DMARC. If any says fail or none, fix that record first.
  8. Review the content. Compare the email against the list above and trim anything that looks promotional.
  9. Monitor. Read the DMARC reports weekly for the first month, then monthly. Watch for new senders you do not recognise.

A plain example: a handmade soap shop

Imagine a shop selling handmade soap that sends orders from a plugin on its website. The owner typed hello@soapshop.example as the sender, but the DNS had no SPF or DKIM for the plugin. About a third of the confirmation emails to one large consumer provider landed in spam, and customers wrote asking whether the order had gone through.

The owner created a mailbox for hello@, added the plugin's recommended SPF include to the existing SPF record, published the DKIM record the plugin supplied, and added a DMARC record in monitoring mode. The subject line was changed from "ORDER RECEIVED!!!" to a plain statement with the order number, and the large banner at the top was replaced by a short text header and the item list.

After the change, the test messages showed pass results for all three checks. Spam placement dropped for the same test inboxes, and the DMARC reports revealed one more service the shop had forgotten: an old newsletter tool still sending from the domain. The owner added it properly. The shop could not promise that every message would always reach every inbox, but the common causes had been removed, and the owner now had reports to look at when something went wrong.

Limits and what to watch for

  • Nobody can promise inbox placement. Providers weigh many signals and change their rules. The goal is to remove avoidable causes and keep a record you can check.
  • Reputation takes time. A new domain sending a sudden burst of mail looks suspicious. Start with normal volumes and let the pattern build.
  • Shared sending can hurt. If you send through a shared pool of servers, other customers' behaviour can affect your delivery. A dedicated setup gives more control but needs more care.
  • Do not buy lists or add people who did not buy. Order emails go to customers who placed an order. Sending marketing to others from the same address damages the reputation you rely on.
  • DNS changes take time to spread. After editing records, wait and re-test. Do not keep changing things while a change is still propagating.
  • Keep records tidy. Remove entries for services you no longer use, because they widen who can send in your name.
  • Beware of lookalike risks. Criminals may send fake order emails pretending to be your shop. DMARC at a strict policy, combined with the habits in the Email Security checklist for Thai SMEs, helps protect customers.
  • Test again after any platform or hosting change. Moving the store, changing a plugin or switching email host can break authentication silently.

What to do if emails still go to spam

Work through a short diagnostic order. First, confirm that SPF, DKIM and DMARC all pass for a real test message. Second, check whether only one provider is affected; if so, look at that provider's sender guidance and postmaster tools. Third, review whether the domain or IP appears on any public blocklist. Fourth, check content again, looking for image-only layouts, shortened links and exaggerated wording. Fifth, ask a few customers to mark the message as not spam and add the sender to their contacts, which gives positive signals. If the problem persists, ask your sending service or hosting support to look at logs; they can see the receiving server's response codes, which often name the reason.

Summary

Order emails reach inboxes more often when receivers can verify them and when they look like what they are. Send from an address on your own domain, publish a single SPF record, enable DKIM signing, and add DMARC in monitoring mode so you can see who sends in your name. Use a recognisable sender name, a clear subject line and a short, honest layout, and keep promotions out of receipts. Test with several providers, read the headers and reports, and recheck after every change. No setup can promise inbox placement, but these steps remove the most common reasons for the spam folder.

If you want help with the protection side, the Email Security page and the business email page show what is available and which plan includes what.

Frequently asked questions

Why do my store's order emails go to spam?

Common causes are a sender domain with no SPF or DKIM, mail sent from a shared address you do not control, a mismatch between the visible From address and the real sending server, and content that looks like bulk promotion. Often several of these combine.

Which DNS records matter most for order emails?

SPF, DKIM and DMARC. SPF lists the servers allowed to send for your domain, DKIM signs each message, and DMARC tells receivers how to treat messages that fail and where to send reports.

Should order emails come from my own domain?

Yes, where possible. Sending from an address on a domain you control, with authentication in place, gives receiving servers clearer evidence that the mail is yours than a generic shared sender does.

Can I be sure my emails will always reach the inbox?

No. Each mailbox provider makes its own decisions using many signals. Good setup improves your chances and gives you tools to diagnose problems, but nobody can promise inbox placement.

Should I put marketing offers in order confirmation emails?

Keep them minimal. Transactional messages work best when they are clear, short and about the order. Heavy promotion can make the message look like bulk mail to filters and distracts customers from the details they need.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Protect your email and stop spoofing

Spam filtering and DMARC monitoring for your domain.

See email security

Keep reading

Business Email Guides

Which DNS Records to Set Before Using an Automated Receipt System

Automated receipts are only useful if they arrive. Learn which DNS records to check or add before connecting a receipt or invoicing system to your domain.

10 min read

Business Email Guides

An Email Security Checklist for Small Businesses in Thailand

Small businesses rely on email for orders, invoices and customer trust. This checklist covers the controls that matter most and how to review them on a schedule.

10 min read

Business Email Guides

How to Reduce Email Spoofing and Phishing Against Your Brand

Attackers can forge your From address or register a lookalike domain. This guide explains the realistic controls that make brand phishing harder and easier to spot.

10 min read