Guides

Why Your Cart Recovery Emails Are Not Being Sent

A step-by-step guide to diagnosing messages that stay queued or never arrive.

Why Your Cart Recovery Emails Are Not Being Sent

First step: the activity log

Most questions are answered by CartWin → Tools → Activity log. Search for the customer’s email address or the cart number. You will see every capture, every message queued, every message sent — and every message that was skipped or cancelled, with the reason.

To check a setting quickly: Tools → Run the engine now runs one engine pass by hand and reports how many carts became abandoned, how many messages were queued and sent, and how many carts were marked as lost.

Emails do not arrive

Check How
Is the message in the Message Log as Sent? Reports → Message Log. If it is Queued, sending is off or the engine has not run yet (13.4). If it is Skipped or Cancelled, the note says why (13.5). If it is Failed, see 13.6.
Does a test mail arrive? Templates → Test. If not, the site’s mail system is the problem, not CartWin: configure an SMTP plugin and try again.
Is the “From” email on your own domain? Settings → Emails. Many providers reject a sender from another domain.
Are SPF and DKIM set for that domain? Ask your mail provider.
Is the mail in the spam folder? Ask the customer; also follow the advice in 12.4.
Did the engine run since the message was due? Tools → Next scheduled run. If it says Not scheduled, see 13.9.

Nothing is sent or messages stay Queued

Cause Fix
Send follow-ups is off Settings → Emails → tick it. An engine run follows within a minute and contacts every cart that is abandoned and not lost yet (3.6)
The engine has not run yet Wait for the next run, or Tools → Run the engine now
The engine is not scheduled (The scheduled job of CartWin is missing) Save the settings once; it is scheduled again
WP-Cron runs late on a quiet store Use a real cron job (10.2)
More messages due than Messages per run The rest go out in the next runs; raise the limit if needed
A previous run is still going Runs do not overlap; the next one starts afterwards
The message was taken but the delivery stopped It is put back in the queue automatically on a later run (Queued again: the previous delivery stopped before it finished.)
Several messages of one cart went out together They were queued before sending was paused and all became overdue; queued messages are not spaced again (3.6)

A message Failed

First look at the status. A message whose hand-over fails does not become Failed at once: it goes back to Queued and is tried again automatically — after 1, 5 and 15 minutes, then 1, 3, 12 and 24 hours (3.4). Its note reads Attempt <n> failed, retrying in <m> min: <reason>, and that reason is what the table below is about. Fix the cause while the message is still trying: the next try then goes out by itself. Only after the eighth failed try is the message Failed.

Note — the reason after “retrying in … min:”, or the note of a Failed message Fix
The mail system did not accept the message., or the mailer’s own text (an SMTP connection error, for example) WordPress could not hand the mail to the mail system. Send a test through your SMTP plugin; check the From address and the mailer’s settings.
Twilio rejected the message: … Twilio refused the text; what follows is Twilio’s own message. Check Account SID, Auth token and Sender, and the number of the customer.
Twilio: … Twilio could not be reached (time-out, connection); what follows is the reason. Try again later, and check whether the server may reach api.twilio.com.
SMS gateway rejected the message: … The gateway answered with an error; what follows is its message, or HTTP <number>. Check the request body and the account.
SMS gateway: … The gateway could not be reached; what follows is the reason.
The SMS body template is not valid JSON once the placeholders are filled in. Correct the Request body under Settings → SMS (12.5).
WhatsApp rejected the message: … Meta refused the message; what follows is Meta’s own message (12.5).
WhatsApp: … Meta could not be reached; what follows is the reason. Try again later.
Add the Phone number ID from your WhatsApp business settings. · Add a permanent access token for your WhatsApp business account. Complete Settings → WhatsApp.
Add the phone number or sender ID the messages are sent from. · Add your Twilio Account SID and Auth Token. · Add the URL and the body template of your SMS gateway. Complete Settings → SMS.
The template needs an approved WhatsApp template name and language. Fill in the WhatsApp fields of the template (4.5).
The message has no text. The template is empty.
The cart has no usable phone number. The number on the cart is not valid for the channel.

A Failed message keeps its place: open Reports → Message Log, find it, and click Queue again once the cause is fixed. It is sent at the next engine run. The automatic tries are used up by then, so this gives exactly one more try — if it fails again, the message is Failed again; Queue again once more for another try.

“Sent” but not received. For email, Sent means the mail system took the message; for SMS and WhatsApp, that the provider accepted it. What happens after that — a spam folder, a full inbox, a phone that is switched off — is not reported back to CartWin.

Reporting a problem

Send to [email protected]:

  1. What you did, what you expected, what happened.
  2. A screenshot.
  3. The CartWin version (top right of any CartWin page).
  4. The day’s activity log: Tools → Download this day. It contains customer email addresses — send it only by mail, not through a public forum.

Get started for free

CartWin is free, open source, and runs on your own WordPress site. Download CartWin from WordPress.org.

Questions? Write to [email protected].