WebsiteTrouble.com Logo

WebsiteTrouble Blog · Hacked Sites and Security

Your Website Is Sending Spam Email and You Did Not Send It

Your host says your site is sending spam, or your real email suddenly lands in junk. What a compromised site sending spam means, and the cleanup order.

The call usually starts with a notice from the hosting company. Your account is sending spam, they say, and if it does not stop, your site gets suspended. Or the quieter version: your customers tell you your invoices and replies have started landing in their junk folders, and you have not changed a thing.

If your website is sending spam you did not write, your site is almost certainly compromised. Here is what is happening and the order a cleanup has to follow.

Why a hacked site sends email

To a hacker, your website is a free mail server with a good reputation. They plant a script that sends their junk through your site, thousands of messages at a time, promoting whatever pays them. Your domain does the sending, so your domain takes the blame. Mail providers keep score, and once your domain's reputation is burned, your real email starts failing too, even email that has nothing to do with the website.

That spillover is the part owners miss. The site and your email share a name, and the internet judges them together.

The signs to look for

  • A warning or suspension notice from your host about outgoing mail volume.
  • Bounce messages arriving for email you never sent, addressed to strangers.
  • Your contact form submissions arriving with junk mixed in, or your real messages landing in spam.
  • A sudden unexplained slowdown, because the sending script is eating your site's resources.

Bounce messages for mail you never sent are the giveaway most owners can check in two minutes. If your inbox holds delivery failures for messages to people you have never heard of, something is sending as you. The broader signs are on my checklist for telling whether a website is hacked.

First move: stop the bleeding, carefully

Your host may have already limited outgoing mail, and that is a blessing in disguise. Do not respond by switching hosts or deleting the whole site in a panic. The sending script, the account it uses, and the door it came through all need to be found, and deleting blind destroys the evidence of where it got in. Note the times on the bounces and the host's notice. A cleanup goes faster with them.

What the cleanup involves

The site gets the full treatment: find the sending script, find and close the entry point, replace core files, clear out rogue accounts, and change the passwords that matter. I lay out the full sequence in my post on what a real hack cleanup involves. Then comes the email side, which owners forget: your domain's sending records, the SPF, DKIM, and DMARC settings that prove mail is really from you, need checking and often repairing, because a compromise frequently tampers with them.

That email repair connects to a quieter problem I see on healthy sites too. If your form mail is unreliable even without a hack, my post on contact forms that stopped sending covers the deliverability side of it.

After the cleanup

Reputation recovers slowly and honestly. Clean sending, correct records, and time. There is no legitimate shortcut, and anyone who promises instant reputation repair is selling you something. What you can control is making sure it never happens again: updates kept current, unused plugins gone, and monitoring that would catch a sending spike in a day instead of a month.

A site sending spam is a same-day problem, because suspension sits at the end of that road. That is emergency website help. Bring the host's notice if you got one, and we will find the script and the door, live, before your domain's name gets any worse.

Rather have it fixed today?

This is the kind of problem I fix live on a screen share, while you watch. A standard fix is $99 for the first hour, same-day emergency help is $299 for the first hour, and every fix carries a 30-day warranty.