{"id":1073,"date":"2021-05-17T06:18:41","date_gmt":"2021-05-17T06:18:41","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/05\/17\/5240938-how-to-set-up-contact-form-7-with-hostinger-email\/"},"modified":"2026-11-23T03:31:44","modified_gmt":"2026-11-23T03:31:44","slug":"5240938-how-to-set-up-contact-form-7-with-hostinger-email","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5240938-how-to-set-up-contact-form-7-with-hostinger-email\/","title":{"rendered":"How to set up \u201cContact Form 7\u201d with Hostinger Email"},"content":{"rendered":"<p>Set up <b><a data-click-id=\"hgr-post-content-link-contact-form-7\" class=\"intercom-content-link\" href=\"https:\/\/wordpress.org\/plugins\/contact-form-7\/\" target=\"_blank\" rel=\"noopener\">Contact Form 7<\/a><\/b> 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.<\/p>\n<h3>Before you start<\/h3>\n<ul>\n<li>A WordPress website with the Contact Form 7 plugin. Contact Form 7 doesn\u2019t work on websites built with HTML and PHP. For those websites, see <a data-click-id=\"hgr-post-content-link-how-to-integrate-hostinger-email-into-your-website\" href=\"\/support\/1583505-how-to-integrate-hostinger-email-into-your-website\/\">how to integrate Hostinger Email into your website.<\/a><\/li>\n<li>A Hostinger Email mailbox on your domain. To find its server settings and login details, see <a data-click-id=\"hgr-post-content-link-how-to-get-email-account-configuration-details-for-hostinger\" href=\"\/support\/1575756-how-to-get-email-account-configuration-details-for-hostinger-email\/\">how to get email account configuration details for Hostinger Email<\/a>.<\/li>\n<\/ul>\n<h2 id=\"h-how-to-set-up-contact-form-7\">How to set up Contact Form 7<\/h2>\n<p class=\"no-margin\">First, <b><a data-click-id=\"hgr-post-content-link-install-the-plugin\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-install-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\">install the plugin<\/a> <\/b>on your WordPress website. Then, go ahead and <b>set it up<\/b>.<\/p>\n<p class=\"no-margin\">You\u2019ll be presented with a premade contact form that can be used right away. Copy the shortcode and paste it on your website:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2021\/05\/3106b964-7d38-49af-aabd-bd752a021484.jpg\/public\" alt=\"WordPress Contact Form 7 shortcode highlighted in the forms list\" data-media-id=\"4298\" \/><\/div>\n<p class=\"no-margin\">Alternatively, you may create a new contact form that would suit your custom needs:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2021\/05\/251ff9e1-0924-4666-b0b3-56036f3a3e9d.jpg\/public\" alt=\"WordPress Contact Forms page with the Add New button highlighted\" data-media-id=\"4300\" \/><\/div>\n<h2 id=\"h_66e466dd97\">Hostinger Email server settings<\/h2>\n<div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>IMAP <\/b>(incoming)<\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>POP3 <\/b>(incoming)<\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>SMTP <\/b>(outgoing)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Host: <b>imap.hostinger.com<\/b><\/p>\n<p class=\"no-margin\">Port number: <b>993<\/b><\/p>\n<p class=\"no-margin\">Encryption: <b>SSL<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Host: <b>pop.hostinger.com<\/b><\/p>\n<p class=\"no-margin\">Port number: <b>995<\/b><\/p>\n<p class=\"no-margin\">Encryption: <b>SSL<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Host: <b>smtp.hostinger.com<\/b><\/p>\n<p class=\"no-margin\">Port number: <b>465<\/b><\/p>\n<p class=\"no-margin\">Encryption: <b>SSL\/TLS<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"h_9a38932723\">Best practices<\/h2>\n<ul>\n<li>\n<p class=\"no-margin\">The <b>From<\/b>: address used in the<b> Mail<\/b> section of Contact form 7 is <b>especially important<\/b> in determining whether emails are sent and received properly.<\/p>\n<ul>\n<li>\n<p class=\"no-margin\">Make sure to use an <b>email address that\u2019s linked to your domain name<\/b>, i.e., an email address that you have <b><a data-click-id=\"hgr-post-content-link-set-up\" class=\"intercom-content-link\" href=\"\/support\/1583217-how-to-create-and-manage-mailboxes-for-hostinger-email\/\" target=\"_blank\" rel=\"noopener\">set up<\/a><\/b> with your hosting plan.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p class=\"no-margin\">The <b>To<\/b>: and <b>From<\/b>: email addresses cannot be the same.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">If you don\u2019t specify the <b>From<\/b>: address, it\u2019s automatically prefilled with <code>wordpress@your-domain.tld.<\/code><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">If the <code>wordpress@your-domain.tld<\/code> mailbox is not created, an error is shown when sending emails.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">If form emails don\u2019t arrive or show an SMTP error, see <a data-click-id=\"hgr-post-content-link-how-to-fix-smtp-email-sending-errors-on-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/how-to-fix-smtp-email-sending-errors-on-hostinger\/\">How to fix SMTP email sending errors on Hostinger<\/a>.<\/p>\n<\/li>\n<li>To block spam submissions through your form, see <a data-click-id=\"hgr-post-content-link-how-to-secure-your-contact-forms-against-spam-at-hostinger\" href=\"\/support\/9005870-how-to-secure-your-contact-forms-against-spam-at-hostinger\/\">How to secure your contact forms against spam at Hostinger.<\/a><\/li>\n<\/ul>\n<p>With a domain-based From address and the correct server settings, your Contact Form 7 messages are sent and delivered reliably.<\/p>\n<p class=\"no-margin\"><b>Additional resources<\/b><\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-how-to-create-a-wordpress-contact-form-and-improve-engagemen\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-create-a-contact-form-on-wordpress\/\" target=\"_blank\" rel=\"noopener\">How to Create a WordPress Contact Form and Improve Engagement<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-best-practise-to-set-up-mail-contact-form-7\" class=\"intercom-content-link\" href=\"https:\/\/contactform7.com\/best-practice-to-set-up-mail\/\" target=\"_blank\" rel=\"noopener\">Best practise to set up mail | Contact Form 7<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-faq-contact-form-7\" class=\"intercom-content-link\" href=\"https:\/\/contactform7.com\/faq\/\" target=\"_blank\" rel=\"noopener\">FAQ | Contact Form 7<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a data-click-id=\"hgr-post-content-link-contact-contact-form-7\" class=\"intercom-content-link\" href=\"https:\/\/contactform7.com\/contact\/\" target=\"_blank\" rel=\"noopener\">Contact | Contact Form 7<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[191],"tags":[],"class_list":["post-1073","post","type-post","status-publish","format-standard","hentry","category-hostinger-email-setting-up-email-on-different-devices-and-email-applications"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5240938-how-to-set-up-contact-form-7-with-hostinger-email","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5240938-como-configurar-contact-form-7-con-el-email-de-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5240938-comment-configurer-contact-form-7-avec-hostinger-emails","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5240938-bagaimana-cara-setup-email-hostinger-di-contact-form-7","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/5240938-como-integrar-o-contact-form-7-do-wordpress-com-os-e-mails-da-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1073"}],"version-history":[{"count":7,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1073\/revisions"}],"predecessor-version":[{"id":25517,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1073\/revisions\/25517"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}