Set up Contact Form 7 with Hostinger Email to send WordPress contact form messages from a mailbox on your domain. Install the plugin, add a form to your page, and use a domain-based From address so messages are delivered correctly.
Before you start
- A WordPress website with the Contact Form 7 plugin. Contact Form 7 doesn’t work on websites built with HTML and PHP. For those websites, see how to integrate Hostinger Email into your website.
- A Hostinger Email mailbox on your domain. To find its server settings and login details, see how to get email account configuration details for Hostinger Email.
How to set up Contact Form 7
First, install the plugin on your WordPress website. Then, go ahead and set it up.
You’ll be presented with a premade contact form that can be used right away. Copy the shortcode and paste it on your website:

Alternatively, you may create a new contact form that would suit your custom needs:

Hostinger Email server settings
|
IMAP (incoming) |
POP3 (incoming) |
SMTP (outgoing) |
|
Host: imap.hostinger.com Port number: 993 Encryption: SSL |
Host: pop.hostinger.com Port number: 995 Encryption: SSL |
Host: smtp.hostinger.com Port number: 465 Encryption: SSL/TLS |
Best practices
-
The From: address used in the Mail section of Contact form 7 is especially important in determining whether emails are sent and received properly.
-
Make sure to use an email address that’s linked to your domain name, i.e., an email address that you have set up with your hosting plan.
-
-
The To: and From: email addresses cannot be the same.
-
If you don’t specify the From: address, it’s automatically prefilled with
wordpress@your-domain.tld. -
If the
wordpress@your-domain.tldmailbox is not created, an error is shown when sending emails. -
If form emails don’t arrive or show an SMTP error, see How to fix SMTP email sending errors on Hostinger.
- To block spam submissions through your form, see How to secure your contact forms against spam at Hostinger.
With a domain-based From address and the correct server settings, your Contact Form 7 messages are sent and delivered reliably.
Additional resources