Automatic deployment to Hostinger from GitHub
How to publish a site to Hostinger automatically from a GitHub repository: Git deployment in hPanel, a webhook, a GitHub Actions build and keeping secrets safe.

Over the past weeks, I personally ran into two email-related attacks that disrupted communication and created reputational risks. These aren’t rare — they’re common, especially for WordPress sites with popular contact form plugins and default mail settings.
This post is here to help you protect your WordPress site, avoid business disruptions, and understand how to properly configure your email infrastructure.

What’s happening: Your contact form is getting hammered with spam submissions. There are two major consequences to be aware of:
What’s the result?
To avoid losing leads and email functionality:
Log the form submission first — save it in your database or CRM before any email is sent.
Notify your team elsewhere — duplicate submissions to Telegram or Slack via Webhooks.
Secure the form with:
Depending on the plugin you’re using, here’s how to lock things down:
Pro Tips:
This one hit me more recently — and it’s infuriating.
Suddenly, emails started appearing “from” my domain. I hadn’t sent them. Worse: they contained links to phishing sites. That’s when I realized someone was spoofing my domain to trick recipients.
Your domain can be used in fake phishing campaigns, without ever accessing your server.

If you own a domain, you must configure three DNS records today:
Defines which mail servers are allowed to send emails on behalf of your domain.
Example:
v=spf1 include:_spf.mydomain.com ~all
Digitally signs outgoing emails, allowing recipients to verify that the message hasn’t been tampered with.
Coordinates SPF and DKIM. Tells recipient servers what to do with unauthenticated emails and sends you reports about abuse.
Example:
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com;
You can choose:
Don’t rely on wp_mail() or PHP’s native mail function. They don’t set proper headers and signatures.
Use one of these plugins to send authenticated emails:
If you need help configuring email security, SMTP delivery, or integrating your forms with secure CRMs or Telegram — feel free to reach out. Better to set it up before something breaks.
Let’s keep your domain trustworthy and your forms clean.
Need help with this?
Urgent website assistance. Fast fixes for bugs, 500 and 404 errors, recovery of hacked or crashed websites. Emergency technical support 24/7.
More about the service →
Local machine → repository → server: you ask, an AI agent changes the site, every change is reviewed, saved and deployed automatically. I set it up and teach your team.
How it works →

How to publish a site to Hostinger automatically from a GitHub repository: Git deployment in hPanel, a webhook, a GitHub Actions build and keeping secrets safe.

Two ways to put a WordPress site under Git: keep the theme and plugins in a repository, or export the content into a static site. What to commit and how to deploy.

How managing a website through an AI coding agent works: what to prepare, the cycle from request to publishing, and which tasks to trust an agent with.

Contact
An AI agent, an automation, a website improvement or a full rebuild — describe the task in a few lines and I will reply within one business day.
Tallinn, Estonia · working remotely across Europe
The site does not use cookies. Visit statistics are collected without them. Learn more