{"id":605,"date":"2022-02-22T10:41:21","date_gmt":"2022-02-22T10:41:21","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/wordpresshow-to-configure-wordpress-to-send-emails-using-smtp\/"},"modified":"2026-11-13T07:01:31","modified_gmt":"2026-11-13T07:01:31","slug":"wordpress-smtp","status":"publish","type":"post","link":"\/ph\/tutorials\/wordpress-smtp\/","title":{"rendered":"What is WordPress SMTP, how to configure it, and recommended plugins"},"content":{"rendered":"<p class=\"wp-block-paragraph\">WordPress SMTP is a setup that sends your site&rsquo;s emails, such as contact form notifications and password resets, through an authenticated mail server instead of the PHP mail() function WordPress uses by default. Combined with SPF, DKIM, and DMARC records on your domain, it makes your messages much more likely to reach the inbox.<\/p><p class=\"wp-block-paragraph\">To set it up, create a mailbox on your domain, install an SMTP plugin like WP Mail SMTP, enter your mail server&rsquo;s SMTP details, and send a test email. You&rsquo;ll also learn how to fix common sending errors, which SMTP plugins to consider, and when a dedicated mail service like Brevo or SendGrid makes more sense.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-what-is-wordpress-smtp\">What is WordPress SMTP?<\/h2><p class=\"wp-block-paragraph\">WordPress SMTP means configuring your WordPress site to send email over the Simple Mail Transfer Protocol (SMTP) by logging in to a real mail server, instead of handing messages to the web server&rsquo;s <a data-click-id=\"hgr-post-content-link-php-mail-function\" href=\"\/ph\/tutorials\/how-to-send-emails-using-php-mail-function\/\">PHP mail() function<\/a>. SMTP is the standard protocol for sending email, but WordPress doesn&rsquo;t use an SMTP server by default.<\/p><p class=\"wp-block-paragraph\">Out of the box, WordPress sends email through its wp_mail() function, which tells the PHPMailer library to use PHP mail() and the server&rsquo;s local mail software. An SMTP plugin changes that connection, so contact forms, password resets, and store notifications go through your mailbox provider or a mail service like Brevo.<\/p><h3 class=\"wp-block-heading h-t-title-3\">Why should you use SMTP for WordPress?<\/h3><p class=\"wp-block-paragraph\">SMTP makes WordPress emails more reliable because they&rsquo;re sent from an authenticated mailbox on your domain, which recipient servers can verify. Emails sent with PHP mail() often leave from a shared web server that your domain doesn&rsquo;t authorize, so providers like Gmail and Outlook are more likely to reject them or mark them as spam.<\/p><p class=\"wp-block-paragraph\">Recipient servers check three DNS records on your sending domain:<\/p><ul class=\"wp-block-list\">\n<li>Sender Policy Framework (SPF) lists the servers allowed to send email for your domain.<\/li>\n\n\n\n<li><a data-click-id=\"hgr-post-content-link-domainkeys-identified-mail-dkim-records\" href=\"\/ph\/tutorials\/dkim-record\/\">DomainKeys Identified Mail (DKIM) records<\/a> add a digital signature proving the message came from your domain and wasn&rsquo;t altered.<\/li>\n\n\n\n<li>Domain-based Message Authentication, Reporting, and Conformance (DMARC) tells recipients what to do with messages that fail SPF or DKIM checks.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">These records aren&rsquo;t part of SMTP itself, but SMTP lets you send through a mail server your records already authorize. If you use Hostinger Mail and need your own signing key, follow the steps for <a data-click-id=\"hgr-post-content-link-adding-a-custom-dkim-record-for-hostinger-email\" href=\"\/support\/6780535-how-to-add-a-custom-dkim-record-for-hostinger-email\/\">adding a custom DKIM record for Hostinger Email<\/a>. Authenticated sending also makes it harder for attackers to spoof your domain, because recipients can reject forged messages that fail these checks.<\/p><p class=\"wp-block-paragraph\">Some hosts also limit or disable PHP mail() to prevent spam. In that case, an SMTP plugin is the standard way to send WordPress email, as long as your host allows outgoing connections on SMTP ports such as 465 or 587.<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-how-to-set-up-smtp-in-wordpress\">How to set up SMTP in WordPress<\/h2><p class=\"wp-block-paragraph\">You can set up WordPress SMTP in four steps: create a mailbox on your domain, connect it with an SMTP plugin, send a test email, and fix any errors. The steps below use Hostinger Mail and the WP Mail SMTP plugin, but the process works with any email provider that gives you SMTP details.<\/p><p class=\"wp-block-paragraph\">A free domain and free mailboxes for the first year come with every Hostinger <a data-click-id=\"hgr-post-content-link-wordpress-web-hosting-plan\" href=\"\/ph\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\">WordPress web hosting plan<\/a>, so you can create a branded address like name@domain.tld without a separate email subscription.<\/p><figure class=\"wp-block-image size-large\"><a data-click-id=\"hgr-post-content-link-ph-wordpress-hosting\" aria-label=\"Wordpress hosting\" href=\"\/ph\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/44\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h3 class=\"wp-block-heading h-t-title-3\">1. Create a mailbox on your domain<\/h3><p class=\"wp-block-paragraph\">Your site needs a mailbox to send from, plus that mailbox&rsquo;s SMTP settings. Before you configure WordPress, <a data-click-id=\"hgr-post-content-link-create-your-email-account\" href=\"\/ph\/tutorials\/how-to-create-an-email\/\" target=\"_blank\" rel=\"noopener\">create your email account<\/a> on your domain and note the outgoing server details. With Hostinger Mail, follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Go to <strong>Hostinger dashboard<\/strong> &rarr; <strong>Emails<\/strong>. If this is your first mailbox, activate the free email trial included with your plan and select your domain.<\/li>\n\n\n\n<li>Click <strong>Mailboxes<\/strong> next to your domain, then click <strong>Add mailboxes<\/strong>.<\/li>\n\n\n\n<li>Enter the email name and password, then click <strong>Create<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2023-1\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/The-email-account-setup-menu-in-hPanel.png\"><img decoding=\"async\" width=\"1259\" height=\"713\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/12\/The-email-account-setup-menu-in-hPanel.png\/w=1024,h=1024,fit=scale-down\" alt=\"The email account setup menu in hPanel\" class=\"wp-image-100357\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/The-email-account-setup-menu-in-hPanel.png 1259w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/The-email-account-setup-menu-in-hPanel-300x170.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/The-email-account-setup-menu-in-hPanel-1024x580.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/The-email-account-setup-menu-in-hPanel-150x85.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/The-email-account-setup-menu-in-hPanel-768x435.png 768w\" sizes=\"(max-width: 1259px) 100vw, 1259px\" \/><\/a><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Manage<\/strong> next to your domain and open Connect Apps &amp; Devices in the sidebar.<\/li>\n\n\n\n<li>Note the SMTP (outgoing) settings: host smtp.hostinger.com, encryption SSL, and port 465.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">If SSL on port 465 fails, Hostinger Mail also accepts TLS (STARTTLS) on port 587. Your SMTP username is the full email address, and the password is the mailbox password you just set. To change the password or add aliases later, see how to <a data-click-id=\"hgr-post-content-link-create-and-manage-hostinger-mail-mailboxes\" href=\"\/support\/1583217-how-to-create-and-manage-mailboxes-for-hostinger-email\/\" target=\"_blank\" rel=\"noopener\">create and manage Hostinger Mail mailboxes<\/a>.<\/p><p class=\"wp-block-paragraph\">Hostinger Agent in WordPress is available on selected Hostinger plans and requires the Hostinger AI plugin. If your site has it, you can look up these details without leaving WordPress. Open <a data-click-id=\"hgr-post-content-link-hostinger-agent-in-wordpress-admin\" href=\"\/ph\/tutorials\/wordpress-mcp-integration\/\" target=\"_blank\" rel=\"noopener\">Hostinger Agent in WordPress admin<\/a> by selecting Hostinger in the WordPress sidebar and clicking Agent in the bottom-right corner, log in with your Hostinger account, and ask:<\/p><pre class=\"wp-block-code\"><code>What are the SMTP settings for name@domain.tld?<\/code><\/pre><p class=\"wp-block-paragraph\">Hostinger Agent returns the SMTP host, port, encryption, and username for that account, plus port 587 with TLS as a fallback if SSL on port 465 fails.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2022-0\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2022\/02\/hostinger-agent-smtp-settings-wordpress.png\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/02\/hostinger-agent-smtp-settings-wordpress.png\/public\" alt=\"Hostinger Agent listing the SMTP server, port, and encryption for a Hostinger email account in WordPress admin\" class=\"wp-image-161076\"><\/a><\/figure><\/div><h3 class=\"wp-block-heading h-t-title-3\">2. Install and configure WordPress SMTP Plugin<\/h3><p class=\"wp-block-paragraph\">To configure SMTP, use the WP Mail SMTP plugin. After <a data-click-id=\"hgr-post-content-link-launching-your-wordpress-website\" href=\"\/ph\/tutorials\/launch-a-wordpress-site\/\" target=\"_blank\" rel=\"noopener\">launching your WordPress website<\/a>, follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Open your WordPress admin dashboard.<\/li>\n\n\n\n<li>Go to <strong>Plugins &rarr; Add New Plugin<\/strong>, search for <strong>WP Mail SMTP<\/strong>, then install and activate it. If you&rsquo;re new to this, learn how to <a data-click-id=\"hgr-post-content-link-install-wordpress-plugins\" href=\"\/ph\/tutorials\/how-to-install-wordpress-plugins\/\" target=\"_blank\" rel=\"noopener\">install WordPress plugins<\/a>.<\/li>\n\n\n\n<li>When the Setup Wizard opens, click Go back to the Dashboard to configure the plugin manually.<\/li>\n\n\n\n<li>On the WP Mail SMTP settings page, scroll to Primary Connection and enter your mailbox address in From Email.<\/li>\n\n\n\n<li>Enter the <strong>From Name<\/strong>, which recipients see as the sender.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2023-1-2\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings.png\"><img decoding=\"async\" width=\"1155\" height=\"566\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings.png\/w=1024,h=1024,fit=scale-down\" alt=\"WP Mail SMTP's primary connection settings\" class=\"wp-image-100359\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings.png 1155w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings-300x147.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings-1024x502.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings-150x74.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-primary-connection-settings-768x376.png 768w\" sizes=\"(max-width: 1155px) 100vw, 1155px\" \/><\/a><\/figure><\/div><ol start=\"6\" class=\"wp-block-list\">\n<li>Optionally, enable <strong>Return Path<\/strong> so bounce notifications go to your From Email address.<\/li>\n\n\n\n<li>Under Mailer, select <strong>Other SMTP<\/strong>, then enter the SMTP host, encryption, and port from step 1<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2023-1-3\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin.png\"><img decoding=\"async\" width=\"1201\" height=\"660\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin.png\/w=1024,h=1024,fit=scale-down\" alt=\"Mailer selection in WP Mail SMTP plugin\" class=\"wp-image-100360\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin.png 1201w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin-300x165.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin-1024x563.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin-150x82.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/Mailer-selection-in-WP-Mail-SMTP-plugin-768x422.png 768w\" sizes=\"(max-width: 1201px) 100vw, 1201px\" \/><\/a><\/figure><\/div><ol start=\"8\" class=\"wp-block-list\">\n<li>Turn <strong>Authentication<\/strong> on. If an Auto TLS toggle appears, leave it on.<\/li>\n\n\n\n<li>Enter your full email address as the SMTP Username and your existing mailbox password as the SMTP Password.<\/li>\n\n\n\n<li>Click <strong>Save Settings<\/strong>.<\/li>\n<\/ol><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Pro Tip                <\/p>\n            <\/div>\n            <p class=\"protip__content\">Save the SMTP password and username in the <strong>wp-config.php<\/strong> file to improve security.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><p class=\"wp-block-paragraph\">Remember that the steps can slightly differ if you use a different plugin.<\/p><p class=\"wp-block-paragraph\">If you purchase the WP Mail SMTP Elite plan, you&rsquo;ll get a free White Glove setup service that handles the configuration process.<\/p><p class=\"wp-block-paragraph\">Want to see this setup in action? This video walks through configuring WordPress SMTP using Hostinger Mail.<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Set Up WordPress SMTP\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/suvkDYwTCfg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><p class=\"wp-block-paragraph\">\n  <div class=\"youtube-shortcode\">\n    <div class=\"row\">\n      <div class=\"col-7 col-sm-8 d-flex align-items-center\">\n        <img decoding=\"async\" class=\"channel-logo\" src=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/youtube-channels\/hostinger-academy.jpg\" alt=\"youtube channel logo\">\n        <div class=\"d-flex flex-column justify-content-between\">\n          <span class=\"slogan d-none d-sm-block\">Subscribe For more educational videos!<\/span>\n          <span class=\"channel-name\">Hostinger Academy<\/span>\n        <\/div>\n      <\/div>\n      <div class=\"col-5 col-sm-4 d-flex align-items-center justify-content-end\">\n          <a data-click-id=\"hgr-post-content-link-subscribe\" class=\"subscribe-button\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"http:\/\/www.youtube.com\/channel\/UCbNIC-svDbtUOH2qsLnPQPg?sub_confirmation=1\">\n            <img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/icons\/youtube.svg\" alt=\"subscribe\">\n            <span>Subscribe<\/span>\n          <\/a>\n      <\/div>\n    <\/div>\n  <\/div>\n\n     <\/p><h3 class=\"wp-block-heading h-t-title-3\">3. Send a test email<\/h3><p class=\"wp-block-paragraph\">Send a test email to check whether the SMTP service works properly. Here&rsquo;s how to do it using the WP Mail SMTP plugin:<\/p><ol class=\"wp-block-list\">\n<li>In the WordPress dashboard, go to WP Mail SMTP &rarr; Tools and open the Email Test tab.<\/li>\n\n\n\n<li>In Send To, enter any email address whose inbox you can access.<\/li>\n\n\n\n<li>Enable HTML and click Send Email.<\/li>\n<\/ol><p class=\"wp-block-paragraph\">The plugin should confirm that it sent the email successfully. Otherwise, check the destination address and the WordPress SMTP settings.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2023-1-4\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful.png\"><img decoding=\"async\" width=\"1256\" height=\"708\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful.png\/w=1024,h=1024,fit=scale-down\" alt=\"WP Mail SMTP confirms the test email was successful\" class=\"wp-image-100361\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful.png 1256w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful-300x169.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful-1024x577.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful-150x85.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP-confirms-the-test-email-was-successful-768x433.png 768w\" sizes=\"(max-width: 1256px) 100vw, 1256px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">If you use the premium WP Mail SMTP plugin, enable the <strong>Alerts<\/strong> and<strong> Email Log<\/strong> settings to track whether you sent the messages properly.<\/p><h3 class=\"wp-block-heading h-t-title-3\">4. Troubleshoot sending issues<\/h3><p class=\"wp-block-paragraph\">If you encounter an issue when sending an SMTP email, check out some of the most common causes and their solutions:<\/p><ul class=\"wp-block-list\">\n<li><strong>Incorrect WP Mail SMTP settings<\/strong>. Make sure WP Mail SMTP uses the correct SMTP host, port, encryption method, username, and password.<\/li>\n\n\n\n<li><strong>Mail server issue<\/strong>. Temporarily switch to another SMTP server, like Gmail, to check whether the problem is with your provider.<\/li>\n\n\n\n<li><strong>Web hosting configuration<\/strong>. Some hosts block outgoing SMTP connections, so confirm that your host allows the port your mail server uses and <a data-click-id=\"hgr-post-content-link-check-whether-smtp-port-587-is-open\" href=\"\/ph\/tutorials\/smtp-port-587\/\" target=\"_blank\" rel=\"noopener\">check whether SMTP port 587 is open<\/a> if you use TLS.<\/li>\n\n\n\n<li><strong>Domain authentication<\/strong>. If test emails arrive in spam, make sure your sending domain has SPF, DKIM, and DMARC records that authorize your mail provider.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">If you use Hostinger Mail and your emails still fail or land in spam, ask Hostinger Agent in WordPress admin to check the DNS records on your sending domain:<\/p><pre class=\"wp-block-code\"><code>What DNS records does domain.tld have?<\/code><\/pre><p class=\"wp-block-paragraph\">Recipient servers check the SPF and DKIM records in that list before trusting your SMTP emails. If the problem continues, ask Hostinger Agent to connect you with our Customer Success team, then click <strong>Wait for a human review<\/strong> to queue your request for a specialist.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a data-click-id=\"hgr-post-content-link-imagedelivery-net-lqiwlm-3mgbyhtfuubcbta-wp-content-uploads\" href=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/hostinger-agent-dns-records-wordpress.png\/public\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/hostinger-agent-dns-records-wordpress.png\/public\" alt=\"Hostinger Agent listing the DNS records of a domain from WordPress admin\" class=\"wp-image-161053\"><\/a><\/figure><\/div><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                <strong>Important!<\/strong> Connecting to a Google Workspace email account requires different information from SMTP. You&rsquo;ll need a client ID, a secret key, and an authorized redirect URI.\n            <\/p><\/div>\n\n\n\n<\/p><p class=\"wp-block-paragraph\">Use the WP Mail SMTP plugin&rsquo;s built-in debugging feature to simplify troubleshooting. To access it, go to your WordPress sidebar &rarr; <strong>WP Mail SMTP<\/strong> &rarr; <strong>Tools<\/strong> &rarr; <strong>Debug Events<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a data-click-id=\"hgr-post-content-link-hostinger-com-ph-tutorials-wp-content-uploads-sites-2-2023-1-5\" href=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP_s-event-debugger.png\"><img decoding=\"async\" width=\"1254\" height=\"719\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/12\/WP-Mail-SMTP_s-event-debugger.png\/w=1024,h=1024,fit=scale-down\" alt=\"WP Mail SMTP's event debugger\" class=\"wp-image-100362\" srcset=\"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-event-debugger.png 1254w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-event-debugger-300x172.png 300w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-event-debugger-1024x587.png 1024w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-event-debugger-150x86.png 150w, https:\/\/www.hostinger.com\/ph\/tutorials\/wp-content\/uploads\/sites\/44\/2023\/12\/WP-Mail-SMTP_s-event-debugger-768x440.png 768w\" sizes=\"(max-width: 1254px) 100vw, 1254px\" \/><\/a><\/figure><\/div><p class=\"wp-block-paragraph\">If you use its White Glove Setup service, the plugin developer will troubleshoot the issues and ensure your SMTP server settings are properly configured.<\/p><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-what-are-the-best-wordpress-smtp-plugins-and-mail-services\">What are the best WordPress SMTP plugins and mail services?<\/h2><p class=\"wp-block-paragraph\">WP Mail SMTP is the best choice for most WordPress sites, but FluentSMTP, Post SMTP, and Easy WP SMTP are strong alternatives for specific needs. An SMTP plugin connects WordPress to a mail server, while an SMTP mail service is the server that sends and tracks your messages. A mailbox on your domain handles everyday site emails, and a dedicated service makes sense for high volumes or detailed delivery reports.<\/p><p class=\"wp-block-paragraph\">These SMTP plugins connect WordPress to your mailbox or mail service:<\/p><ul class=\"wp-block-list\">\n<li><strong>WP Mail SMTP: best for most sites.<\/strong> WP Mail SMTP is the plugin used in this tutorial. Its free version connects WordPress to any SMTP server or popular mail service, while WP Mail SMTP Pro adds email logs, delivery reports, backup connections, and failure alerts. <\/li>\n\n\n\n<li><strong>FluentSMTP: best free option.<\/strong> FluentSMTP is completely free and connects to services like Amazon SES, Gmail, and Brevo, as well as any SMTP server. It includes email logs, routing across multiple connections, and a fallback connection when the primary one fails.<\/li>\n\n\n\n<li><strong>Post SMTP: best for failure alerts.<\/strong> Post SMTP lets you set a backup mailer for when the main one fails. It sends instant alerts by email, Slack, SMS, or push notification whenever a message isn&rsquo;t delivered.<\/li>\n\n\n\n<li><strong>Easy WP SMTP: best for simple setups.<\/strong> Easy WP SMTP includes a setup wizard, and its free version works with any SMTP server and services like Brevo, Mailgun, and SendGrid. Gmail, Google Workspace, and Microsoft 365 integrations require Easy WP SMTP Pro.<\/li>\n<\/ul><p class=\"wp-block-paragraph\">These SMTP mail services send your WordPress emails through their own infrastructure, connected through one of the plugins above:<\/p><ul class=\"wp-block-list\">\n<li><strong>Brevo: best for combining site emails with marketing.<\/strong> Brevo is an email marketing platform with an SMTP relay, a free plan with a daily sending cap, and tools like automation workflows, A\/B testing, and contact management. Pair it with a <a data-click-id=\"hgr-post-content-link-custom-wordpress-contact-form\" href=\"\/ph\/tutorials\/how-to-create-a-contact-form-on-wordpress\/\" target=\"_blank\" rel=\"noopener\">custom WordPress contact form<\/a> to grow your subscriber list. <\/li>\n\n\n\n<li><strong>SendGrid: best for high-volume sending.<\/strong> Twilio SendGrid is an email delivery platform built for sites that send large volumes of transactional email. Twilio retired SendGrid&rsquo;s free plans in 2025, so plan for a paid subscription. To connect it, create an API key in your SendGrid account and enter it in a plugin that supports SendGrid, such as FluentSMTP or Easy WP SMTP.<\/li>\n<\/ul><h2 class=\"wp-block-heading h-t-title-2\" id=\"h-next-steps-after-setting-up-wordpress-smtp\">Next steps after setting up WordPress SMTP<\/h2><p class=\"wp-block-paragraph\">Check that your site&rsquo;s real emails arrive, not just the test message. Submit your contact form, request a password reset, and, if you run a store, place a test order, then confirm each message lands in the inbox with the correct From name and address.<\/p><p class=\"wp-block-paragraph\">Next, secure the connection. If your Hostinger Mail plan supports app passwords, generate one for WP Mail SMTP instead of using your main mailbox password, so you can revoke the plugin&rsquo;s access without changing your login. Whenever you change the password the plugin uses, update the SMTP Password field right away, or your site will stop sending email.<\/p><p class=\"wp-block-paragraph\">Keep an eye on delivery over time. Turn on email logging if your plugin offers it, such as in FluentSMTP or WP Mail SMTP Pro, and review failed messages after plugin updates or DNS changes. If you haven&rsquo;t published a DMARC record yet, start with a monitoring-only policy and review the reports before telling recipients to quarantine or reject failing messages.<\/p><p class=\"wp-block-paragraph\">Plan for sending volume as your site grows. Each Hostinger Mail mailbox has a daily sending limit that depends on your email plan, so move newsletters and other bulk email to a service like Brevo or SendGrid, and keep your mailbox for transactional messages. Authorize each new service in your SPF and DKIM records before you start sending from it.<\/p><p class=\"wp-block-paragraph\">If messages still bounce or land in spam, work through these <a data-click-id=\"hgr-post-content-link-common-causes-of-emails-not-sending\" href=\"\/ph\/tutorials\/email-not-sending\/\">common causes of emails not sending<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress SMTP is a setup that sends your site&rsquo;s emails, such as contact form notifications and password resets, through an authenticated mail server instead of the PHP mail() function WordPress uses by default. Combined with SPF, DKIM, and DMARC records on your domain, it makes your messages much more likely to reach the inbox. To [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ph\/tutorials\/wordpress-smtp\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":337,"featured_media":136195,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is WordPress SMTP and how to set it up on your site","rank_math_description":"WordPress SMTP sends your site's emails through an authenticated mail server. Learn how to set it up with WP Mail SMTP, test it, and pick a plugin.","rank_math_focus_keyword":"wordpress smtp","_content_updated_date":"2023-12-20","footnotes":""},"categories":[22666],"tags":[],"class_list":["post-605","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-smtp","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/como-configurar-o-wordpress-para-enviar-email","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/smtp-wordpress","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/wordpress-smtp","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/smtp-wordpress","default":0},{"locale":"de-DE","link":"https:\/\/www.hostinger.com\/de\/tutorials\/wordpress-smtp","default":0},{"locale":"it-IT","link":"https:\/\/www.hostinger.com\/it\/tutorial\/wordpress-smtp","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/wordpress-smtp","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/wordpress-smtp","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-smtp","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-smtp","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-smtp","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-smtp","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-smtp","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/wordpress-smtp","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/wordpress-smtp","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/wordpress-smtp","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/como-configurar-o-wordpress-para-enviar-email","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/users\/337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/comments?post=605"}],"version-history":[{"count":59,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/605\/revisions"}],"predecessor-version":[{"id":138212,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/posts\/605\/revisions\/138212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/media\/136195"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/media?parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/categories?post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ph\/tutorials\/wp-json\/wp\/v2\/tags?post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}