Key takeaways
- In nopCommerce 5.0 the SSL box picks the TLS mode: ticked means SSL from the first byte (port 465), clear means STARTTLS when offered (port 587). A mismatch is the most common failure.
- There are five sign-in methods: none, NTLM, login, Google OAuth2 and Microsoft OAuth2. Use the one your provider allows.
- Store emails go through a queue. The send task tries each one 3 times, then stops.
- An accepted message is not a delivered one. SPF, DKIM and DMARC decide the inbox.
An order completes, but the customer never gets the confirmation. Password resets sit unsent, or the test email in the admin fails with a connection or login error. The failure can sit before SMTP, inside the SMTP session, in the queue, or after the provider has accepted the message.
This guide tests each of those in order, and changes one setting at a time. We checked the settings and behaviour against the nopCommerce 5.00.1 source and documentation on 25 November 2026.
Classify Where Email Delivery Stops
Start in Configuration → Email accounts, open the account the store uses and click Send test email. Write down the exact error and the time before you change anything.
| Symptom | Layer | Look at |
|---|---|---|
| Timeout, refused, handshake error | Cannot connect | Port, SSL box, firewall, DNS |
| 535, authentication failed | Cannot authenticate | Sign-in method, app password, OAuth2 settings |
| Test works, store emails do not | Accepted but missing | Message queue, schedule task, templates |
| Sent, but never in the inbox | Delivery | Spam folder, bounces, SPF, DKIM, DMARC |
The test button is the first dividing line. If it fails, stay with the account and the network. If it passes but order emails do not arrive, go to the queue and the templates.
Store emails still not arriving? BSS sets up and fixes nopCommerce email, from SMTP to domain authentication.
View nopCommerce servicesVerify the Email Account, Port and TLS Mode
The documentation lists the fields: email address, display name, host, port, the SSL checkbox, the maximum number of emails and the authentication method. Some providers only send from the address you sign in with, or from a verified alias of it.
The SSL checkbox matters most. In the 5.00.1 SmtpBuilder, a ticked box connects with SslOnConnect, so TLS starts with the first byte, as on port 465. A clear box uses StartTlsWhenAvailable, which upgrades to TLS if the server offers it, as on port 587.
await client.ConnectAsync(
emailAccount.Host,
emailAccount.Port,
emailAccount.EnableSsl ? SecureSocketOptions.SslOnConnect : SecureSocketOptions.StartTlsWhenAvailable);
| Provider says | Port | SSL box |
|---|---|---|
| SSL / implicit TLS | 465 | Ticked |
| STARTTLS | 587 | Clear |
When a store sends nothing after a mail provider change, the first thing we check is port 587 with SSL ticked. That pairing tries TLS before the server is ready for it, and the handshake fails before any login happens.
Fix Authentication, App Passwords or OAuth2
nopCommerce 5.0 has five sign-in methods: no authentication, NTLM (the default network credentials), login and password, Google OAuth2 and Microsoft OAuth2. Pick the one your provider allows for SMTP, not the one your mail client uses.
Authentication checks
- Use the username format the provider asks for, usually the full mailbox address.
- Confirm SMTP sending is enabled for the mailbox; many providers turn it off by default.
- Use an app password only where the provider requires one.
- For Google OAuth2, check the client ID and secret; for Microsoft OAuth2, also the tenant identifier.
- Make sure the From address is the mailbox itself or an allowed alias.
Test SMTP Connectivity From the nopCommerce Host
A laptop that reaches the mail server proves nothing about the production server. Run the test on the machine, VM or container that runs nopCommerce.
Resolve-DnsName smtp.example.com
Test-NetConnection smtp.example.com -Port 587
TcpTestSucceeded : True proves the port is open, not that TLS, the login or delivery will work. A timeout points to a firewall, a cloud network rule or a host that blocks the port. Many cloud hosts block outbound port 25, so use an authenticated submission port instead. Our nopCommerce hosting guide covers the server side.
Check the Message Queue, Scheduled Task and Templates
nopCommerce's documentation is plain about it: emails are not sent immediately, they are queued. Open System → Message queue, tick Load not sent emails only and look at the send attempts, addresses and dates.
The send task in 5.00.1 tries each queued email 3 times, then leaves it. If the test email works but the queue grows, open System → Schedule tasks, check the email task's last run and error, and use Run now. The documentation says to restart the application after changing a task.
Then check the template in Content management → Message templates: it must be active, assigned to the right store, using the right email account, and either set to Send immediately or given a delay. Use Test template with real values.
Requeue failed emails only after you fix the cause. Retrying against a wrong password three times per message can get the account throttled, and then the real error is hidden behind the new one.
Separate SMTP Success From Inbox Delivery
Once the provider accepts the message with a 250 reply, nopCommerce has done its part. A missing email is now a provider or recipient problem: check the provider's activity log, bounces, suppression list, spam folder and rate limits.
Authenticate the sending domain with SPF and DKIM, then publish a DMARC policy. A quick Resolve-DnsName -Type TXT on your domain shows whether the SPF record is there.
One more detail from the 5.00.1 source: its SMTP code accepts any server certificate, because certificate checking is turned off by default. A certificate error will not stop sending, but it also means nopCommerce does not prove it reached the right server, so use the provider's exact host name. For errors, read System → Log at the failure time, and remove passwords and secrets before you share a log.
Before you call it fixed
- The test email works from the production server.
- The email task runs and the queue empties.
- Order, account, password-reset and contact emails use the right template and sender.
- Messages arrive at two or more mail providers without bouncing or landing in spam.
Store emails that arrive
BSS engineers configure nopCommerce email accounts, OAuth2 sign-in, the queue and your domain's SPF, DKIM and DMARC, then test delivery end to end.
Frequently Asked Questions
Final Thoughts
Most nopCommerce email failures come down to a handful of settings: the SSL box against the port, the sign-in method, the queue task and the domain's authentication records. Test them in that order, one change at a time, and keep the exact error message.
If HTTPS on the store itself still needs work, our nopCommerce SSL setup guide covers IIS and Azure.
Tell us your mail provider and the error you see. We will fix the account, the queue and the domain records, and prove delivery.
Talk to an expert

