{"id":25410,"date":"2026-11-16T06:04:08","date_gmt":"2026-11-16T06:04:08","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=25410"},"modified":"2026-11-23T03:30:30","modified_gmt":"2026-11-23T03:30:30","slug":"how-to-fix-smtp-email-sending-errors-on-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-fix-smtp-email-sending-errors-on-hostinger\/","title":{"rendered":"How to fix SMTP email sending errors on Hostinger"},"content":{"rendered":"<p>SMTP (Simple Mail Transfer Protocol) email sending errors on Hostinger have six common causes: connection failures, login rejections, relay denials, PHP <code>mail()<\/code> limits, plugin misconfiguration, and sending limits. Each error has a different fix. Match your exact error message to its section to resolve it.<\/p><h3><strong>Before you start<\/strong><\/h3><p>This article applies to sending email through SMTP from email clients, websites, and plugins on Hostinger Web hosting, Cloud hosting, and VPS (virtual private server) plans. Copy the exact error message first, because each fix depends on it.<\/p><h2 id=\"h-smtp-email-sending-errors-on-hostinger-and-their-fixes\">SMTP email sending errors on Hostinger and their fixes<\/h2><p>There are six common SMTP email sending errors on Hostinger. The table matches each error to its cause and its fix section.<\/p><table>\n<thead>\n<tr>\n<th style=\"background-color: #e3e7fa\">Error<\/th>\n<th style=\"background-color: #e3e7fa\">Cause<\/th>\n<th style=\"background-color: #e3e7fa\">Fix section<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>SMTP connect() failed<\/code> or a connection timeout<\/td>\n<td>The host or port is wrong, or the port is blocked.<\/td>\n<td>Fix the SMTP connect() failed error on Hostinger<\/td>\n<\/tr>\n<tr>\n<td><code>Authentication failed<\/code><\/td>\n<td>The username or password is incorrect.<\/td>\n<td>Fix the SMTP authentication failed error on Hostinger<\/td>\n<\/tr>\n<tr>\n<td><code>Relay access denied<\/code><\/td>\n<td>The sender isn&rsquo;t authenticated for the sending domain.<\/td>\n<td>Fix the relay access denied error on Hostinger<\/td>\n<\/tr>\n<tr>\n<td>Emails missing after a website sends them with PHP <code>mail()<\/code><\/td>\n<td>The website exceeds the PHP <code>mail()<\/code> limit.<\/td>\n<td>Switch from PHP mail() to SMTP on Hostinger<\/td>\n<\/tr>\n<tr>\n<td>SMTP works in one plugin or platform but not another<\/td>\n<td>The platform&rsquo;s SMTP settings are misconfigured.<\/td>\n<td>Fix SMTP errors in WordPress and PrestaShop plugins on Hostinger<\/td>\n<\/tr>\n<tr>\n<td>A daily or per-minute sending limit error<\/td>\n<td>The sender reached a sending limit.<\/td>\n<td>Check SMTP sending limits on Hostinger<\/td>\n<\/tr>\n<\/tbody>\n<\/table><h2 id=\"h-fix-the-smtp-connect-failed-error-on-hostinger\">Fix the SMTP connect() failed error on Hostinger<\/h2><p>The <code>SMTP connect() failed<\/code> error or a connection timeout means the sender can&rsquo;t reach the Hostinger SMTP server. A wrong host, a wrong port, or a blocked port causes it.<\/p><p><!-- VERIFY: confirm this cause against the Lumos chats. The port 587 Tutorial says blocked port; the PHPMailer Tutorial says it often points to failed authentication. --><\/p><ol>\n<li>Set the SMTP host to <code>smtp.hostinger.com<\/code>.<\/li>\n<li>Set the encryption to <strong>SSL<\/strong> and the port to <code>465<\/code>.<\/li>\n<li>Switch to <strong>TLS<\/strong> or <strong>STARTTLS<\/strong> with port <code>587<\/code> if encryption issues continue.<\/li>\n<li>Check that your firewall or network doesn&rsquo;t block the port.<\/li>\n<\/ol><p>Hostinger doesn&rsquo;t block SMTP port <code>25<\/code> on VPS plans. If port <code>25<\/code> fails on a VPS, check your managed VPS firewall configuration, as explained in <a data-click-id=\"hgr-post-content-link-is-smtp-port-25-blocked-on-hostinger-vps\" href=\"https:\/\/www.hostinger.com\/support\/7854530-is-smtp-port-25-blocked-on-hostinger-vps\/\">Is SMTP port 25 blocked on Hostinger VPS?<\/a><\/p><p>Web hosting and Cloud hosting plans close outgoing port <code>25<\/code>, so use port <code>465<\/code> or <code>587<\/code> instead.<\/p><p><!-- VERIFY: port 25 on Web and Cloud hosting comes from the \"Which web standards and connectivity features are supported at Hostinger\" article. Fetch it to confirm, then link it. --><\/p><h2 id=\"h-fix-the-smtp-authentication-failed-error-on-hostinger\">Fix the SMTP authentication failed error on Hostinger<\/h2><p>The <code>Authentication failed<\/code> error means the Hostinger mail server rejected the username or password. Use the full email address, such as <code>name@domain.tld<\/code>, as the username, and the mailbox password as the password.<\/p><p><!-- VERIFY: confirm the exact error text Hostinger mailboxes return. --><\/p><ol>\n<li>Enter the full email address in the username field.<\/li>\n<li>Re-enter the mailbox password.<\/li>\n<li>Reset the password if it&rsquo;s no longer correct, following <a data-click-id=\"hgr-post-content-link-how-to-reset-a-hostinger-email-mailbox-password\" href=\"https:\/\/www.hostinger.com\/support\/1583468-how-to-reset-a-hostinger-email-mailbox-password\/\">How to reset a Hostinger Email mailbox password<\/a>.<\/li>\n<li>Leave SMTP authentication turned on in your email client or plugin.<\/li>\n<\/ol><h2 id=\"h-fix-the-relay-access-denied-error-on-hostinger\">Fix the relay access denied error on Hostinger<\/h2><p>The <code>Relay access denied<\/code> error means the Hostinger mail server rejected the message because the sender wasn&rsquo;t authenticated for the sending domain. Authenticate with the mailbox that matches the From address.<\/p><p><!-- VERIFY: confirm this cause against the Lumos chats. The internal wiki lists \"Sender address rejected: not owned by user\", which supports the sender-mismatch cause. --><\/p><ol>\n<li>Turn on SMTP authentication in your email client or plugin.<\/li>\n<li>Log in with the full address of the mailbox that sends the message.<\/li>\n<li>Set the From address to the same mailbox.<\/li>\n<\/ol><h2 id=\"h-switch-from-php-mail-to-smtp-on-hostinger\">Switch from PHP mail() to SMTP on Hostinger<\/h2><p>Hostinger limits emails sent with PHP <code>mail()<\/code> and other unauthenticated methods to 10 per minute and 100 per day. Send through SMTP with PHPMailer or an SMTP plugin instead, because SMTP authenticates each message.<\/p><p>To check whether your website hit the limit, open the Sendmail rate limit log in <strong>File Manager<\/strong> at <code>\/home\/u123456789\/.logs\/exim.log<\/code>. Lines marked <code>RATE LIMIT EXCEEDED<\/code> show the mailbox, the sending rate, and the limit type. The restriction lifts automatically once the sending rate drops below the limit.<\/p><p>For the full explanation, follow <a data-click-id=\"hgr-post-content-link-php-mail-limitation-explained-how-to-improve-email-delivery\" href=\"https:\/\/www.hostinger.com\/support\/11393648-php-mail-limitation-explained-how-to-improve-email-delivery-with-smtp\/\">PHP Mail limitation explained: How to improve email delivery with SMTP<\/a>.<\/p><h2 id=\"h-fix-smtp-errors-in-wordpress-and-prestashop-plugins-on-hostinger\">Fix SMTP errors in WordPress and PrestaShop plugins on Hostinger<\/h2><p>If SMTP works in an email client but fails in a website plugin, the plugin&rsquo;s SMTP settings are the cause. In Easy WP SMTP, choose <strong>Other SMTP<\/strong> as the mailer, turn off the <strong>Auto TLS<\/strong> toggle, and enter the same email address in <strong>SMTP Username<\/strong> and <strong>From Email<\/strong>.<\/p><p>Follow <a data-click-id=\"hgr-post-content-link-how-to-set-up-the-easy-wp-smtp-plugin-on-wordpress-at-hostin\" href=\"https:\/\/www.hostinger.com\/support\/4725594-how-to-set-up-the-easy-wp-smtp-plugin-on-wordpress-at-hostinger\/\">How to set up the Easy WP SMTP plugin on WordPress at Hostinger<\/a> for WordPress. Follow <a data-click-id=\"hgr-post-content-link-how-to-configure-smtp-on-prestashop-at-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/6890714-how-to-configure-smtp-on-prestashop-at-hostinger\/\">How to configure SMTP on PrestaShop at Hostinger<\/a> for PrestaShop. For Contact Form 7, follow <a data-click-id=\"hgr-post-content-link-how-to-set-up-contact-form-7-with-hostinger-email\" href=\"https:\/\/www.hostinger.com\/support\/5240938-how-to-set-up-contact-form-7-with-hostinger-email\/\">How to set up &ldquo;Contact Form 7&rdquo; with Hostinger Email<\/a>.<\/p><p><!-- VERIFY: the PrestaShop and Contact Form 7 titles\/URLs were not fetched. Confirm them. --><\/p><h2 id=\"h-check-smtp-sending-limits-on-hostinger\">Check SMTP sending limits on Hostinger<\/h2><p>A sending limit error means the sender exceeded the outgoing limit for its plan. The limit depends on where the email is sent from.<\/p><table>\n<thead>\n<tr>\n<th style=\"background-color: #e3e7fa\">Sender<\/th>\n<th style=\"background-color: #e3e7fa\">Limit<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>PHP <code>mail()<\/code> on Web hosting and Cloud hosting plans<\/td>\n<td>10 emails per minute and 100 per day.<\/td>\n<\/tr>\n<tr>\n<td>VPS email<\/td>\n<td>5 emails per minute.<\/td>\n<\/tr>\n<tr>\n<td>Hostinger Email mailbox<\/td>\n<td>Per-mailbox limits are listed in <a data-click-id=\"hgr-post-content-link-parameters-and-limits-of-hostinger-mail\" href=\"https:\/\/www.hostinger.com\/support\/4625828-parameters-and-limits-of-hostinger-email\/\">Parameters and limits of Hostinger Mail<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><p>Wait for the sending rate to drop below the limit, then resend the message. Spread large volumes across smaller batches.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li data-kodee=\"hide\">Contact Hostinger Support only when manual action is required, such as unblocking a port or raising a limit.<\/li>\n<li>Include the exact error message and the sending source, such as a website form, plugin, or email client.<\/li>\n<\/ul><p>After you match your error to its fix, SMTP sending works again on Hostinger. Send a test email to confirm the fix worked.<\/p><p><strong>Additional resources<\/strong><\/p><ul>\n<li><a data-click-id=\"hgr-post-content-link-how-to-fix-email-not-sending-errors\" href=\"https:\/\/www.hostinger.com\/tutorials\/email-not-sending\/\">How to fix email not sending errors<\/a><\/li>\n<\/ul><p><!-- VERIFY: keep this Tutorials link only if the Content team agrees. It overlaps with this article's topic. Otherwise remove the whole Additional resources block. --><\/p><p><!-- INBOUND LINKS TO ADD (flag to the human editor, do not edit these articles directly): - Set up Hostinger Email on your applications and devices (pillar candidate): link to this article, and link back from this article. - What to do if Hostinger Emails are not working?: link to this article from its symptom table. - Is SMTP port 25 blocked on Hostinger VPS?, PHP Mail limitation explained, Easy WP SMTP setup: add a link to this article. STILL NEEDED: category, optional error-message screenshot, optional FAQ block (3-5 questions). --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix SMTP email sending errors on Hostinger, including SMTP connect() failed, authentication failed, relay access denied, PHP mail() and sending limits.<\/p>\n","protected":false},"author":597,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[159,191,185],"tags":[],"class_list":["post-25410","post","type-post","status-publish","format-standard","hentry","category-email","category-hostinger-email-setting-up-email-on-different-devices-and-email-applications","category-hostinger-email-troubleshooting"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/25410","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\/597"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=25410"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/25410\/revisions"}],"predecessor-version":[{"id":25514,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/25410\/revisions\/25514"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=25410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=25410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=25410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}