How to set up “Contact Form 7” with Hostinger Email

Set up Contact Form 7 with Hostinger Email: add a form to your WordPress site, use a domain-based From address, and apply the correct mail settings.

Updated 2 weeks ago

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

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:

WordPress Contact Form 7 shortcode highlighted in the forms list

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

WordPress Contact Forms page with the Add New button highlighted

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.tld mailbox 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