Set the shop to send through your domain's real mail server instead of the web server, publish one sending record listing every system that sends for you, switch on signing, and test each message.

Calls about orders that went through

A customer phones to ask whether her order went through. The shop's admin page shows the order, paid, with a note that the confirmation was sent at 9:14 that morning.

She cannot find it. When she looks again, it is in her junk folder, or it is nowhere at all. She is the third caller this week.

Each call takes staff time, and a customer who does not call may simply assume the order failed and order a second time, or shop somewhere else.

Where the confirmation comes from

Many shop programs send their messages from the web server itself, using the server's built-in mail function. No one chose this; it is simply the default.

The message says it is from the shop's address, such as orders at the shop's domain. But it leaves from a shared web server that the domain's records never mention.

To Hotmail, Outlook.com and Gmail, that looks like a stranger using your name. Some of those messages go to junk; some are refused outright.

What the receiving server checks

A large mail service weighs several things before it decides where a message belongs:

A confirmation sent straight from a web server fails several of these at once, however ordinary its wording.

Sending through a proper mail server

Most shop software can be told to send through a named mail server, with a username and password, instead of using the web server's own mail function.

Point it at the mail service the business already uses. That server sends your everyday email, so the domain's settings list it, and the big services already know its address.

Use a real mailbox as the sender, such as an orders address on your domain, and make sure someone reads it. Customers reply to confirmations with questions.

Publishing the domain's sending records

The sending record, often called an SPF record, lives in the domain's settings. It lists every server allowed to send mail that claims to come from your domain.

Name every system that sends for you: the mail service, the shop if it still sends anything directly, the newsletter service and any billing software that emails invoices.

A domain should have one such record, not two; a second one usually breaks both. Signing, often called DKIM, is switched on at the mail service and published the same way.

A worked example

A letterpress studio in Kelowna prints greeting cards, notebooks and art prints on old presses, and sells them across Canada through an online shop.

Over the spring, customers began calling to ask about orders that had already shipped. Several said they had never received a confirmation or a shipping notice.

The studio placed test orders using addresses at Outlook.com and Gmail. Both confirmations landed in junk, and the full headers showed the domain's sending check had failed.

The shop software had been sending from the web server all along. The domain's record listed only the studio's mail service, so the web server was, in effect, an unknown sender.

The developer set the shop to send through the studio's mail service, using an orders mailbox the studio checks daily, and switched on signing at the mail service.

The confirmation, shipping notice and password reset were each tested again at both services. They now leave from a server the domain names as its own, signed in the studio's name.

Every message the shop sends

Shops send more than confirmations: payment receipts, shipping notices, account welcomes, password resets, copies of contact form messages and low-stock alerts to the office.

Each may come from a different part of the software, and some may still use the web server after the main setting changes. Test them one at a time.

Testing with real inboxes

Keep test accounts at Outlook.com, Gmail and Yahoo. Place a real order, or use the shop's test mode, and watch where each message lands.

Open the full headers of each message. They show whether the sending record check passed and whether the signature was valid, in lines any developer can read.

Run the tests again after any change to the shop, the hosting or the mail service. A setting that worked in May can be undone by an update in June.

What to tell customers meanwhile

Until the fix is in place, say on the order page that a confirmation is on its way and may land in the junk folder. Give the sending address so customers can look for it.

Show the order number on that page too, so a customer who wants to check by phone has it ready and the call is short.

The counter-case

A shop on a hosted platform that sends mail from its own well-run servers may not have this problem. Its messages leave from servers set up for mail, not from a shared web server.

Its own domain records may still need an entry for the platform, though, and a test order to each of the big services settles it.

Either way, the domain's records are a job for whoever manages your domain and mail. Done once and tested properly, they serve every message the business sends.

Order mail from the right server

  1. Place a test order with Outlook.com and Gmail addresses.
  2. Check where each message lands and read its headers.
  3. Set the shop to send through your mail service.
  4. Use a sender address that someone reads.
  5. Publish one sending record listing every system that sends.
  6. Switch on signing at the mail service.
  7. Test every message type again after each change.

Step three removes the main cause. Once the shop sends through a server your domain already trusts, the record and the signature have something real to vouch for.

Newsletters sent by a mailing service need the same records and signing, which is what Gmail's via and Outlook's on behalf of beside your name walks through.


Frequently asked questions

Why do order confirmations land in the junk folder?

The shop usually sends them from the web server, which your domain's records do not list as an allowed sender. Mail services treat that as a possible forgery.

What does the sending record do?

It is a short text entry in your domain's settings, often called SPF, that names every server permitted to send its email. Receiving services compare each sender against it.

What does signing add?

A signature added by the sending server, in your domain's name, shows the message came through an approved server and was not changed on the way.

Can the shop send through our normal email service?

Usually, yes. Most shop software accepts a mail server, username and password. Messages then leave from the server your domain already uses for everyday email.

Which messages should we test?

Every one the shop sends: confirmations, receipts, shipping notices, welcome messages, password resets and contact form copies. Test each at Outlook.com, Gmail and Yahoo.

What should customers be told in the meantime?

That a confirmation is on its way and may land in the junk folder, with the sending address to look for and the order number shown on screen.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Customers asking whether their order went through?

Tell us which shop software you use, and we will trace how its mail is sent and what your domain records need.

Start a Conversation