Admin guide: Settings
Email (SMTP)
On this page
Set up the mailbox your store uses to send emails such as order confirmations and alerts. Without it, emails are only written to a log and nobody receives them. You will need the mail server details from your email provider. Since 1.0.68 the page also keeps an Email health record: it tells you when emails are failing, says why in plain words, and sends failed emails again by itself.
Email health (new in 1.0.68)#
Every email the store sends is recorded: order confirmations, new-order, enquiry and low-stock alerts, replies, partner and download emails. If the mail server refuses one (for example the username or password stops working), the store keeps a copy and sends it again later, tells you, and never shows the customer an error: the order or enquiry goes through as usual.
- Banner at the top (red, cannot be dismissed) - shown while the last email did not go out, with the reason in plain words. It disappears by itself when an email goes through
- Email health card - the status (Healthy, Failing, Log only), the Last successful send, the Last failure with the reason and a Technical details line for your email provider, and counts: Pending (being sent now), Failed (will retry), Abandoned (gave up) and Sent in the last 24 hours
- Retry failed now - sends the failed emails that still have their stored copy right away, a few at a time. It stops early if the mail server is still not answering; the rest are tried again automatically
- Send a test email - the existing test box below; a test is recorded but is never sent again later
- Last 20 failures - when, which email (and the order or enquiry it is about), the address with part hidden (j***@e***.com), why, how many tries, status, next try and a Resend button. Open the address to see the full address, the attempts and the reason. Resend is offered only while the stored copy is kept (14 days)
- Automatic retry - after 5 minutes, then 30 minutes, 2 hours, 6 hours and 24 hours (at most 6 tries in all); then the email is marked Abandoned and you can still press Resend while the copy is kept. This needs the shop's scheduled task (cron), the one that also runs your other background jobs. A retry never happens while a customer waits
- Never twice - an email that went out is never sent again, even if two retries start at the same moment
- Privacy - the record keeps the first address (the full list of recipients only lives inside the stored copy of a failed email), and lists show it partly hidden. The copy of a failed message is deleted when it is sent or after 14 days. No password is ever stored; the technical details have passwords removed and addresses partly hidden. Test emails, one-time sign-in codes, the welcome email that holds a new password and sign-in alerts are recorded but never copied or sent again later
- Bell and dashboard - when sending fails the Super Admin and Grokeeper get a bell alert "Emails are failing to send: check Email (SMTP)" (at most once an hour; a single refused address only counts after 3 in an hour) and the Dashboard shows a warning card. Both clear themselves when an email goes through
- The Error log keeps its "Email template ... failed" lines and adds "[outbox #12]" so they link to the item here
What you see on this page#
A badge at the top right shows whether SMTP or Log only is active. Below are the Email health card, the mail server form, a test box and the last failures.
- Mailer - SMTP (send real emails) or Log only (nothing is sent)
- Preset - pick your provider to pre-fill host, port and encryption; you still type the username and password
- SMTP host, Port, Encryption (TLS, SSL or None) and Timeout (seconds)
- Username and Password - the password is hidden once saved; tick Remove the saved password to delete it
Sender and order emails#
Who the emails appear to come from, and which order emails are sent.
- From address and From name - for example orders@yourdomain.com
- Reply-to address (optional)
- Send order confirmation emails - switch; customers get their items and total
- Notify admin of new orders - switch; sends the same summary to the Admin email list
- Admin email list - one or more addresses separated by commas
Send a test email#
Sends a message using the saved settings so you can confirm it works.
- Send to - the address to test
- Send test email button; a green Success or red Failed message with the reason appears
My emails stopped sending#
Also asked as: emails stopped sending; my emails stopped; emails stopped; order emails not arriving; customers not getting emails; no order emails; emails are failing; emails failing; email health; username and password not accepted; 535; app password; google workspace email; gmail smtp not working; retry failed emails; resend failed email; failed emails
Steps
- Open SETTINGS > Email (SMTP). If the red banner "Emails are failing to send" is there, read the reason under it. The Email health card shows the Last failure and, under Technical details, the exact words from the mail server.
- If it says the server rejected the username or password: the password was changed or stopped working. For Google Workspace (Gmail) use an app password. Sign in to the Google account of the sending mailbox, open Google Account > Security, switch on 2-Step Verification, then open App passwords, type a name such as My store and press Create. Copy the 16-letter password Google shows (without spaces).
- Back on Email (SMTP): the Username is the full mailbox address, Host smtp.gmail.com, Port 587 and Encryption TLS (the Gmail / Google Workspace preset fills these). Paste the app password into Password, then press Save changes. If App passwords is missing in Google, the Google Workspace administrator has not allowed 2-Step Verification or app passwords: ask them to, or choose another sending service in Preset.
- Press Send a test email. Success means the mail server accepted it. The red banner and the bell alert disappear by themselves.
- Press Retry failed now in the Email health card. The failed emails (for example order confirmations that did not go out) are sent from their stored copy, exactly as they were. Anything still waiting is also tried automatically every 5 minutes. Under Last 20 failures you can press Resend on a single email.
- If the reason is something else: "could not connect" or "did not answer in time" - check the Host, Port (465 = SSL, 587 = TLS) and that your hosting allows outgoing email; "secure connection failed" - try the other Encryption option for the port; "too many emails were sent" - wait, the emails are kept and tried again; "refused the recipient address" - that one customer address is wrong, nothing is wrong with your settings.
- Still stuck? Open Contact support, press New support request and paste the Technical details line (it never contains a password).
Tips
- Customers never see an error because an email failed: the order or enquiry is saved first. Failed emails are kept for 14 days; after that they can no longer be re-sent, so fix the settings quickly.
- The app password is shown by Google only once. If you lose it, make a new one.
How do I send the failed emails again?#
Also asked as: resend email; resend failed; retry failed now; send failed emails again; email did not go out; order confirmation not sent; abandoned email; resend order confirmation
Steps
- Fix the cause first (see "My emails stopped sending"): press Save changes and then Send a test email until it says Success.
- In the Email health card press Retry failed now to send every failed email that still has its stored copy, or find one email under Last 20 failures and press Resend.
- Open an email (click its partly hidden address) to see the full address, the reason, and every attempt with its result.
Tips
- An email that already went out cannot be sent twice: Resend is not offered for it. Abandoned emails (6 tries) and emails whose 14-day copy has expired cannot be re-sent: send the message again from the order or enquiry instead.
How to enter your email (SMTP) details#
Also asked as: smtp; email setup; mail server; gmail smtp; outlook; emails not sending; set up email; mail host; app password
Steps
- In the sidebar open SETTINGS > Email (SMTP).
- Set Mailer to SMTP (send real emails).
- Choose your provider under Preset, or type the SMTP host, Port and Encryption from your email provider.
- Enter the Username and Password for the mailbox.
- Fill in From address and From name.
- Click Save changes, then run a test (see the next recipe).
Tips
- Use an address on your own domain so emails are less likely to land in spam. Some providers need an app password instead of your normal one.
How to send a test email#
Also asked as: test email; send test; check email; email not arriving; is email working; mail test
Steps
- Open SETTINGS > Email (SMTP) and click Save changes if you edited anything.
- In the Send a test email card, type the address in Send to.
- Click Send test email.
- Read the result. Success means it was sent; Failed shows the reason. Check the inbox and spam folder.
Tips
- The test uses the saved settings, so save first.
How to get an email when an order comes in#
Also asked as: order email; new order email; notify admin; admin emails; order alert; confirmation email; customer order email
Steps
- Open SETTINGS > Email (SMTP) and scroll to Order emails.
- Switch on Notify admin of new orders.
- Type your address in Admin email list (separate several with commas).
- Switch on Send order confirmation emails if you want customers to get one.
- Click Save changes.
Tips
- SMTP must be working, otherwise nothing is delivered. More alert options are in Store settings > Notifications.
How to stop emails being sent (Log only)#
Also asked as: stop emails; log only; disable email; turn off emails; testing mode; pause emails; no emails
Steps
- Open SETTINGS > Email (SMTP).
- Set Mailer to Log only.
- Click Save changes.
Tips
- Customers will not receive any email while this is on. Switch back to SMTP when ready.