Available for projects & agency overflow · Quick reply, from the person who does the work

My site is sending emails I didn't write

Customers report receiving a promotional message or a suspicious follow-up from your domain, or your host flags an unusual sending volume: your CMS's email function is being used without your knowledge.

Describe my issue Send a message

Signs of a hijacked mail function

  • A customer forwards you a promotional or phishing email that appears to come from your contact or order address
  • Your host warns you about a daily sending quota being exceeded, while your usual volume of order confirmations hasn't changed
  • Password reset or order confirmation emails stop arriving, because your domain has been blacklisted by mail providers over the spam sent alongside them
  • The CMS's mail log (where one exists) shows hundreds of messages over a short period, to addresses you don't recognise as customers
  • "Unknown address" bounce replies flood a mailbox you rarely check

Why the native mail function becomes a target

PrestaShop, like most e-commerce CMSs, has a built-in email function used constantly for order confirmations, password resets, and tracking notifications. It relies on the server configuration (often the native PHP mail() function or an SMTP server set up in the back office) and on the reputation of the site's domain name.

That reputation is exactly what makes the function worth hijacking. An established e-commerce domain with a history of legitimate sending passes spam filters more easily than a brand-new domain created for the purpose. Depending on the specific flaw involved, a poorly validated form on the public-facing site can be enough to inject extra recipients or content into an email sent by the CMS, without requiring any admin access at all: that's the general mechanism behind a good share of abuse of this kind, independent of the technical detail specific to each case.

In other cases, a compromised admin account is used directly, either through the CMS's own email templates or through a bulk-sending extension (newsletter, marketing) installed for a legitimate purpose, to distribute content with nothing to do with your business.

Either way, the common thread is the same: it isn't your personal mailbox that's compromised, it's the server sending on your behalf. Changing your mail password changes nothing.

How to confirm where the sending is coming from

  1. Check the server's mail logs

    Most hosts keep an outgoing mail log (often named exim_mainlog or similar) showing sender, recipient and time for every send, independent of anything the CMS logs itself.

  2. Compare against actual order volume

    A clear gap between the number of orders placed and the number of outgoing emails over the same period confirms an extra sending source exists.

  3. Review the site's public forms

    Any form that triggers an email (contact, quote request, customer review) is worth checking first, especially if it was added by a third-party extension.

  4. Check the domain's reputation

    Free IP and domain reputation checkers show whether your domain has already been flagged as a spam source by mail providers.

Related pages

Describe your need in one minute

A few targeted questions so I can reply with an estimate rather than another questionnaire.

constat
plateforme
depuis-quand (facultatif)
sauvegarde
Please provide an email or a phone number so I can get back to you.

Please provide an email or a phone number so I can get back to you.

Frequently asked questions

Should I change the password on my personal mailbox?
That's not enough if the emails originate from the site's server rather than your mailbox. Confirm the actual source first before acting on the wrong link in the chain.
Could my domain get blacklisted because of this?
Yes, that's a common consequence. Spam volume detected from your domain can hurt the deliverability of all your legitimate emails, including order confirmations.
Does this mean my admin account is compromised?
Not necessarily. Depending on the flaw involved, a poorly protected public form can be enough to generate these sends without any admin access being needed.
How do I find out how many emails were actually sent?
The mail log kept by your host gives the exact figure, independent of what the CMS shows in its own history, which can be incomplete or have been altered.
Once the flaw is fixed, does the domain's reputation recover automatically?
Not always immediately. Some mail providers apply an observation period before restoring normal deliverability, even after the flaw is closed.