{"id":1146,"date":"2026-03-13T15:25:13","date_gmt":"2026-03-13T12:25:13","guid":{"rendered":"https:\/\/allinonewpsettings.com\/blog\/?p=1146"},"modified":"2026-09-12T17:14:03","modified_gmt":"2026-09-12T14:14:03","slug":"configure-smtp-wordpress","status":"publish","type":"post","link":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/","title":{"rendered":"WordPress SMTP Settings: Host, Port and Setup Guide"},"content":{"rendered":"<p>WordPress cannot send email out of the box. It tries, but on most servers the attempt either fails silently or the message lands in spam. <strong>WordPress SMTP settings<\/strong> change the last link in that chain: the message now leaves through an authenticated mail server rather than the server&#8217;s local delivery agent.<\/p>\n<p>This guide covers where the problem comes from, the real host and port values by provider, and a verification that proves the settings are actually in use.<\/p>\n<div class=\"aiows-article-toc\" style=\"margin:28px 0;padding:20px 22px;border:1px solid #dcdcde;border-radius:12px;background:#fafafa;\">\n<strong style=\"display:block;margin-bottom:10px;font-size:18px;\">Table of contents<\/strong><\/p>\n<ol style=\"margin:0 0 0 20px;\">\n<li><a href=\"#why-not\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">Why WordPress mail does not arrive<\/a><\/li>\n<li><a href=\"#provider-table\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">WordPress SMTP settings by provider<\/a><\/li>\n<li><a href=\"#preparation\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">Before you enter your WordPress SMTP settings<\/a><\/li>\n<li><a href=\"#steps\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">WordPress SMTP settings step by step<\/a><\/li>\n<li><a href=\"#verification\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">Verification: is it really working<\/a><\/li>\n<li><a href=\"#not-working\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">If it still does not work<\/a><\/li>\n<li><a href=\"#aiows\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">AIOWS SMTP Manager<\/a><\/li>\n<li><a href=\"#faq\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">FAQ<\/a><\/li>\n<li><a href=\"#official-sources\" style=\"color:inherit;text-decoration:underline;text-underline-offset:2px;\">Sources<\/a><\/li>\n<\/ol>\n<\/div>\n<h2 id=\"why-not\" style=\"scroll-margin-top:96px;\">Why WordPress mail does not arrive<\/h2>\n<p>When WordPress sends email it calls <code>wp_mail()<\/code>. That function uses the PHPMailer library, and PHPMailer hands the message to PHP&#8217;s <code>mail()<\/code> function by default. <code>mail()<\/code> passes it to the local delivery agent on the server.<\/p>\n<p>There are two break points in that chain.<\/p>\n<p><strong>The first:<\/strong> most shared hosting providers disable <code>mail()<\/code> or block outbound port 25. The restriction exists to stop spam, and it stops legitimate site mail along with it. WordPress reports success and nothing leaves.<\/p>\n<p><strong>The second, and the more insidious one:<\/strong> even when <code>mail()<\/code> works, the message goes out without authentication. The receiving server cannot verify that it was authorised to send on behalf of your domain. SPF and DKIM do not align, the Return-Path does not match, and the message either lands in spam or is rejected outright.<\/p>\n<p>WordPress SMTP settings replace that last step. PHPMailer no longer hands the message to a local agent; it connects to a real mail server with credentials and sends from there. The message now leaves an authenticated source.<\/p>\n<h2 id=\"provider-table\" style=\"scroll-margin-top:96px;\">WordPress SMTP settings by provider<\/h2>\n<p>WordPress SMTP settings need four values: host, port, encryption type and authentication method. They are connected \u2014 pairing the port with the wrong encryption is the single most common mistake.<\/p>\n<div class=\"aiows-article-table\" style=\"margin:16px 0;overflow-x:auto;\">\n<table style=\"width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Provider<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Host<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Port<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Encryption<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Authentication<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Gmail (personal)<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>smtp.gmail.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">587<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">STARTTLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">App password<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Gmail (personal)<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>smtp.gmail.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">465<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">SSL\/TLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">App password<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Google Workspace<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>smtp.gmail.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">587<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">STARTTLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">App password or OAuth<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Microsoft 365<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>smtp.office365.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">587<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">STARTTLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">OAuth 2.0 recommended, SMTP AUTH must be on<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Yandex<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>smtp.yandex.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">465<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">SSL\/TLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">App password (mandatory), username is the part before @<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Shared hosting<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>mail.yourdomain.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">465<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">SSL\/TLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Mailbox credentials<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Shared hosting<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><code>mail.yourdomain.com<\/code><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">587<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">STARTTLS<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Mailbox credentials<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>About the shared hosting rows:<\/strong> on cPanel-based providers the <code>mail.yourdomain.com<\/code> pattern applies. The exact values are in cPanel under <strong>Email Accounts \u2192 Connect Devices \u2192 Mail Client Manual Settings<\/strong>; whatever that screen shows is correct for your server.<\/p>\n<p><strong>Why port 25 is not in the table:<\/strong> port 25 is for server-to-server delivery and most hosting providers block outbound traffic on it. Site mail goes out over 587 or 465.<\/p>\n<p><strong>Microsoft 365 does not offer 465.<\/strong> Microsoft accepts only 587 with STARTTLS for client submission. A device trying to connect on 465 will not connect at all.<\/p>\n<p><strong>Microsoft 365 is changing its authentication.<\/strong> Microsoft is retiring connection by app password for SMTP submission in favour of OAuth 2.0. When it is switched off, the error reads:<\/p>\n<pre><code>550 5.7.30 Basic authentication is not supported for Client Submission<\/code><\/pre>\n<p>If you see that, your password is not wrong \u2014 the method is no longer accepted. Check Microsoft&#8217;s own announcement for the current timetable; the date has been postponed more than once.<\/p>\n<p><strong>Yandex uses a different username.<\/strong> Other providers take the full email address; Yandex takes only the part before the @. For <code>example@yandex.com<\/code> the username is <code>example<\/code>.<\/p>\n<p>Yandex also has two prerequisites: in the mail settings, under <strong>Email clients<\/strong>, turn on IMAP access and &#8220;App passwords and OAuth tokens&#8221; before creating an app password at <code>id.yandex.com\/security<\/code>. The password is shown once and can take a few hours to become active.<\/p>\n<p>Connecting from outside Russia, <code>smtp.ya.ru<\/code> is the more reliable host.<\/p>\n<p><strong>587 or 465:<\/strong> both are correct; the difference is when encryption starts. 587 opens plain and upgrades with the STARTTLS command. 465 is encrypted from the first byte. Use whichever your provider documents; where both are supported, 587 is the more common choice.<\/p>\n<figure class=\"aiows-article-figure\" style=\"margin:28px 0;\">\n<img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en.webp\" class=\"wp-image-8584\" alt=\"Pairing the port with the encryption in WordPress SMTP settings: 587 STARTTLS, 465 SSL\/TLS\" width=\"1440\" height=\"720\" style=\"display:block;max-width:100%;height:auto;border:1px solid #dcdcde;border-radius:12px;\" fetchpriority=\"high\" loading=\"eager\" srcset=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en.webp 1440w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en-300x150.webp 300w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en-1024x512.webp 1024w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en-768x384.webp 768w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/b2-port-sifreleme-en-1230x615.webp 1230w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><figcaption style=\"margin:8px 0 0;font-size:14px;line-height:1.5;color:#50575e;\">A crossed pairing breaks the connection \u2014 this is the most common mistake.<\/figcaption><\/figure>\n<h2 id=\"preparation\" style=\"scroll-margin-top:96px;\">Before you enter your WordPress SMTP settings<\/h2>\n<p><strong>Note what is there now.<\/strong> If an SMTP plugin is already installed, screenshot the host, port and sender address fields. If the new settings do not work you can go back.<\/p>\n<p><strong>Create an app password.<\/strong> Gmail, Microsoft 365 and Yandex will not accept your account password over SMTP. You need a separate app password, and that requires two-step verification on the account.<\/p>\n<p>In Gmail: Google Account \u2192 Security \u2192 2-Step Verification \u2192 App passwords.<\/p>\n<figure class=\"aiows-article-figure\" style=\"margin:28px 0;\">\n<img loading=\"eager\" fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password.webp\" class=\"wp-image-8576\" alt=\"Creating a Gmail app password for WordPress SMTP settings\" width=\"1064\" height=\"904\" style=\"display:block;max-width:100%;height:auto;border:1px solid #dcdcde;border-radius:12px;\" srcset=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password.webp 1064w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password-300x255.webp 300w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password-1024x870.webp 1024w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password-768x653.webp 768w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a5-gmail-app-password-295x250.webp 295w\" sizes=\"(max-width: 1064px) 100vw, 1064px\"  \/><figcaption style=\"margin:8px 0 0;font-size:14px;line-height:1.5;color:#50575e;\">The password is shown once \u2014 do not close the dialog before saving it.<\/figcaption><\/figure>\n<p><strong>Decide the sender address.<\/strong> It has to be on the same domain as the mailbox you authenticate with. Connecting as <code>info@yourdomain.com<\/code> and sending as <code>noreply@anotherdomain.com<\/code> is a reason to be rejected.<\/p>\n<h2 id=\"steps\" style=\"scroll-margin-top:96px;\">WordPress SMTP settings step by step<\/h2>\n<p>Whichever SMTP plugin you use, the fields are the same.<\/p>\n<p><strong>Host:<\/strong> the value from the table, for example <code>smtp.gmail.com<\/code>.<\/p>\n<p><strong>Port:<\/strong> 587 or 465.<\/p>\n<p><strong>Encryption:<\/strong> STARTTLS for 587, SSL\/TLS for 465. Getting this pairing wrong comes back as a connection timeout or a certificate error.<\/p>\n<p><strong>Authentication:<\/strong> on.<\/p>\n<p><strong>Username:<\/strong> usually your full email address. Some hosting providers use a different pattern; the configuration screen in cPanel shows the right one.<\/p>\n<p><strong>Password:<\/strong> the app password. Not the account password.<\/p>\n<p><strong>From address:<\/strong> the address of the mailbox you authenticate with.<\/p>\n<p><strong>From name:<\/strong> your site name. This is what the recipient sees in their inbox.<\/p>\n<p>Save, then go to verification. Saving is not the same as working.<\/p>\n<h2 id=\"verification\" style=\"scroll-margin-top:96px;\">Verification: is it really working<\/h2>\n<p>Sending a test email is not enough. All four checks have to pass.<\/p>\n<div class=\"aiows-article-table\" style=\"margin:16px 0;overflow-x:auto;\">\n<table style=\"width:100%;border-collapse:collapse;\">\n<thead>\n<tr>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Check<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">How<\/th>\n<th scope=\"col\" style=\"text-align:left;padding:8px 10px;border:1px solid #dcdcde;background:#fafafa;\">Expected<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Does the test send<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Use the plugin&#8217;s test tool, to yourself<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">No error<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Does it reach the inbox<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Check the spam folder too<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Inbox<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Is it really leaving via SMTP<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">View the message source, read the <code>Received:<\/code> lines<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Your server name appears<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><strong>Is a wrong password rejected<\/strong><\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\">Enter a deliberately wrong password and test again<\/td>\n<td style=\"padding:8px 10px;border:1px solid #dcdcde;vertical-align:top;\"><strong>The test must FAIL<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The fourth is the most important and the most often skipped. If a test with the wrong password still reports success, your WordPress SMTP settings are not in use \u2014 the plugin has quietly fallen back to <code>mail()<\/code>. Restore the correct password afterwards.<\/p>\n<p>Do not rely on the test tool alone. Try a real event as well: submit a contact form or request a password reset. <a href=\"https:\/\/allinonewpsettings.com\/blog\/contact-form-7-not-sending-email-causes-and-fixes\/\" rel=\"noopener noreferrer\" target=\"_blank\">A test that works while form emails do not<\/a> is a separate and common problem, usually caused by the form putting the visitor&#8217;s address in the sender field.<\/p>\n<h2 id=\"not-working\" style=\"scroll-margin-top:96px;\">If it still does not work<\/h2>\n<p>If the WordPress SMTP settings are saved and nothing has changed, work through these.<\/p>\n<p><strong>Connection timed out or refused.<\/strong> Your hosting provider may be blocking the outbound port. If 587 does not work, try 465. If neither does, ask your provider whether outbound SMTP is open. For a fuller diagnosis see the <a href=\"https:\/\/allinonewpsettings.com\/blog\/smtp-connect-failed-wordpress\/\" rel=\"noopener noreferrer\" target=\"_blank\">SMTP connect() failed guide<\/a>.<\/p>\n<p><strong>535 authentication error.<\/strong> The password is wrong, or an account password was used. Create an app password. On Microsoft 365 the SMTP AUTH setting also has to be enabled for the mailbox; in corporate tenants it is off by default.<\/p>\n<p><strong>Certificate error.<\/strong> The port and encryption do not match. You may have paired 465 with STARTTLS or 587 with SSL\/TLS. Do not use the option that disables verification; it hides the problem rather than solving it.<\/p>\n<p><strong>Mail sends but lands in spam.<\/strong> SMTP alone is not enough. Your domain also needs <a href=\"https:\/\/allinonewpsettings.com\/blog\/fix-wordpress-not-sending-emails\/\" rel=\"noopener noreferrer\" target=\"_blank\">SPF and DKIM records<\/a>.<\/p>\n<section aria-labelledby=\"aiows\" class=\"aiows-blog-cta\" style=\"margin:38px 0;padding:28px;border:1px solid #cddcff;border-radius:16px;background:#f6f9ff;\">\n<p style=\"margin:0 0 8px;font-size:13px;font-weight:800;letter-spacing:.05em;color:#1746a2;\">How AIOWS helps:<\/p>\n<h2 id=\"aiows\" style=\"margin:0 0 14px;scroll-margin-top:96px;\">AIOWS SMTP Manager<\/h2>\n<p>Entering the values above by hand is not hard, but it grows when you want OAuth on Gmail or Microsoft 365. That means creating a project in the Google Cloud Console, configuring the consent screen, generating credentials, defining a redirect URI and completing the authorisation flow. Fifteen steps, and again from scratch for every client.<\/p>\n<p>EasyConnect in AIOWS SMTP Manager reduces it to one link: you pick your Google or Microsoft account, grant permission, and the connection is made. No console configuration, no copying keys, no redirect URI.<\/p>\n<figure class=\"aiows-article-figure\" style=\"margin:28px 0;\">\n<img loading=\"lazy\" decoding=\"async\" data-src=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a6-aiows-custom-smtp.webp\" src=\"data:image\/svg+xml,%3Csvg xmlns=%22http:\/\/www.w3.org\/2000\/svg%22 viewBox=%220 0 1082 1386%22%3E%3C\/svg%3E\" class=\"wp-image-8577 aiows-lazy\" alt=\"WordPress SMTP settings in AIOWS SMTP Manager: the provider list and the server configuration fields\" width=\"1082\" height=\"1386\" style=\"display:block;max-width:100%;height:auto;border:1px solid #dcdcde;border-radius:12px;aspect-ratio:1082\/1386\" data-srcset=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a6-aiows-custom-smtp.webp 1082w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a6-aiows-custom-smtp-234x300.webp 234w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a6-aiows-custom-smtp-799x1024.webp 799w, https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/a6-aiows-custom-smtp-768x984.webp 768w\" data-sizes=\"auto\"  \/><figcaption style=\"margin:8px 0 0;font-size:14px;line-height:1.5;color:#50575e;\">Each card shows host, port and encryption together; selecting one fills the fields.<\/figcaption><\/figure>\n<p>The module carries thirteen provider presets: Gmail, Outlook and Office 365, Yahoo, Zoho, SendGrid, Mailgun, Amazon SES, Brevo, SparkPost, Postmark, Yandex, shared hosting, and a custom SMTP server for anything else. Selecting a card brings host, port and encryption together, so the pairing mistake in this article never occurs.<\/p>\n<p>The shared hosting preset derives the host from your own site \u2014 it arrives as <code>mail.yourdomain.com<\/code>. The Yandex card carries its two prerequisites on its face: the username is the part before the @, and an app password is mandatory.<\/p>\n<p>The test tool checks each part of the configuration separately, and when a send fails it names the stage it failed at \u2014 DNS resolution, connection, TLS handshake or authentication. The server&#8217;s own reply line is shown too; credentials never are.<\/p>\n<p><strong>Its limits, stated plainly:<\/strong> the module cannot open a port your hosting provider has blocked, it cannot write your domain&#8217;s SPF or DKIM records into DNS for you, and it cannot change an SMTP AUTH setting that is off in your Microsoft 365 tenant. Those three need you or your provider.<\/p>\n<p style=\"margin-bottom:0;\"><a href=\"https:\/\/allinonewpsettings.com\/features\/smtp-manager\" rel=\"noopener noreferrer\" style=\"display:inline-block;padding:11px 17px;margin:6px 8px 0 0;border-radius:8px;background:#1557ff;color:#fff;text-decoration:none;font-weight:700;\" target=\"_blank\">Explore AIOWS SMTP Manager<\/a><a href=\"https:\/\/allinonewpsettings.com\/pricing\" rel=\"noopener noreferrer\" style=\"display:inline-block;padding:10px 16px;margin:6px 8px 0 0;border:1px solid #1557ff;border-radius:8px;color:#1557ff;text-decoration:none;font-weight:700;background:#fff;\" target=\"_blank\">Compare AIOWS plans<\/a><\/p>\n<\/section>\n<h2 id=\"faq\" style=\"scroll-margin-top:96px;\">FAQ<\/h2>\n<p><strong>Do I have to configure WordPress SMTP settings at all?<\/strong><\/p>\n<p>WordPress&#8217;s own delivery path does not authenticate, so your messages either do not arrive or land in spam. SMTP is the standard way to get email delivered reliably.<\/p>\n<p><strong>Can I use my account password?<\/strong><\/p>\n<p>Gmail, Microsoft 365 and Yandex will not accept it. You need an app password, and that requires two-step verification on the account.<\/p>\n<p><strong>Should I choose 587 or 465?<\/strong><\/p>\n<p>Whichever your provider documents. Where both are supported, 587 is more common. What matters is pairing the port with the right encryption type.<\/p>\n<p><strong>How many emails can I send through Gmail?<\/strong><\/p>\n<p>Personal Gmail accounts have a daily sending limit. Sites with high volume are better served by a transactional email provider.<\/p>\n<p><strong>I configured SMTP and it still lands in spam.<\/strong><\/p>\n<p>SMTP gets the message delivered; it does not build reputation. Your domain needs SPF and DKIM records.<\/p>\n<p><strong>The test email arrives but form emails do not.<\/strong><\/p>\n<p>The form plugin is putting the visitor&#8217;s address in the sender field, which conflicts with authentication. Fix the sender to an address on your own domain and put the visitor&#8217;s address in Reply-To.<\/p>\n<h2 id=\"official-sources\" style=\"scroll-margin-top:96px;\">Sources<\/h2>\n<ul class=\"aiows-article-sources\">\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_mail\/\" rel=\"noopener noreferrer\" target=\"_blank\">WordPress <code>wp_mail()<\/code> function reference<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/PHPMailer\/PHPMailer\" rel=\"noopener noreferrer\" target=\"_blank\">PHPMailer documentation<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/accounts\/answer\/185833\" rel=\"noopener noreferrer\" target=\"_blank\">Google: sign in with app passwords<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/exchange\/clients-and-mobile-in-exchange-online\/authenticated-client-smtp-submission\" rel=\"noopener noreferrer\" target=\"_blank\">Microsoft: authenticated SMTP submission in Exchange Online<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Host and port values by provider, the setup step by step, and a verification that proves the messages really leave through SMTP.<\/p>\n","protected":false},"author":1,"featured_media":7401,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[152],"tags":[],"class_list":["post-1146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smtp-manager"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.0 (Yoast SEO v28.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>WordPress SMTP Settings: Host, Port and Setup Guide<\/title>\n<meta name=\"description\" content=\"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress SMTP Settings: Host, Port and Setup Guide\" \/>\n<meta property=\"og:description\" content=\"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"All in One WP Settings\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-13T12:25:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-12T14:14:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"All in One WP Settings\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"All in One WP Settings\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/\"},\"author\":{\"name\":\"All in One WP Settings\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#\\\/schema\\\/person\\\/daa924a7f9a0d0fbe18ea77286693c57\"},\"headline\":\"WordPress SMTP Settings: Host, Port and Setup Guide\",\"datePublished\":\"2026-03-13T12:25:13+00:00\",\"dateModified\":\"2026-09-12T14:14:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/\"},\"wordCount\":1714,\"publisher\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/configure-smtp-wordpress-en.webp\",\"articleSection\":[\"SMTP Manager\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/\",\"name\":\"WordPress SMTP Settings: Host, Port and Setup Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/configure-smtp-wordpress-en.webp\",\"datePublished\":\"2026-03-13T12:25:13+00:00\",\"dateModified\":\"2026-09-12T14:14:03+00:00\",\"description\":\"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/configure-smtp-wordpress-en.webp\",\"contentUrl\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/configure-smtp-wordpress-en.webp\",\"width\":1440,\"height\":720,\"caption\":\"WordPress'te SMTP Yap\u0131land\u0131rmas\u0131: Kapsaml\u0131 Kurulum Rehberi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/configure-smtp-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress SMTP Settings: Host, Port and Setup Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/\",\"name\":\"All in One WP Settings\",\"description\":\"Fewer plugins. Faster WordPress.\",\"publisher\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#organization\",\"name\":\"All in One WP Settings\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/aiows-logo.webp\",\"contentUrl\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/aiows-logo.webp\",\"width\":772,\"height\":250,\"caption\":\"All in One WP Settings\"},\"image\":{\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/#\\\/schema\\\/person\\\/daa924a7f9a0d0fbe18ea77286693c57\",\"name\":\"All in One WP Settings\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/aiows-avatar\\\/user-1.jpg\",\"url\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/aiows-avatar\\\/user-1.jpg\",\"contentUrl\":\"https:\\\/\\\/allinonewpsettings.com\\\/blog\\\/wp-content\\\/uploads\\\/aiows-avatar\\\/user-1.jpg\",\"caption\":\"All in One WP Settings\"},\"sameAs\":[\"https:\\\/\\\/allinonewpsettings.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress SMTP Settings: Host, Port and Setup Guide","description":"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"WordPress SMTP Settings: Host, Port and Setup Guide","og_description":"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.","og_url":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/","og_site_name":"All in One WP Settings","article_published_time":"2026-03-13T12:25:13+00:00","article_modified_time":"2026-09-12T14:14:03+00:00","og_image":[{"width":1440,"height":720,"url":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp","type":"image\/webp"}],"author":"All in One WP Settings","twitter_card":"summary_large_image","twitter_misc":{"Written by":"All in One WP Settings","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#article","isPartOf":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/"},"author":{"name":"All in One WP Settings","@id":"https:\/\/allinonewpsettings.com\/blog\/#\/schema\/person\/daa924a7f9a0d0fbe18ea77286693c57"},"headline":"WordPress SMTP Settings: Host, Port and Setup Guide","datePublished":"2026-03-13T12:25:13+00:00","dateModified":"2026-09-12T14:14:03+00:00","mainEntityOfPage":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/"},"wordCount":1714,"publisher":{"@id":"https:\/\/allinonewpsettings.com\/blog\/#organization"},"image":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp","articleSection":["SMTP Manager"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/","url":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/","name":"WordPress SMTP Settings: Host, Port and Setup Guide","isPartOf":{"@id":"https:\/\/allinonewpsettings.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp","datePublished":"2026-03-13T12:25:13+00:00","dateModified":"2026-09-12T14:14:03+00:00","description":"WordPress SMTP settings by provider \u2014 host, port and encryption values, step-by-step setup, and a way to prove it actually works.","breadcrumb":{"@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#primaryimage","url":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp","contentUrl":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/09\/configure-smtp-wordpress-en.webp","width":1440,"height":720,"caption":"WordPress'te SMTP Yap\u0131land\u0131rmas\u0131: Kapsaml\u0131 Kurulum Rehberi"},{"@type":"BreadcrumbList","@id":"https:\/\/allinonewpsettings.com\/blog\/configure-smtp-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/allinonewpsettings.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress SMTP Settings: Host, Port and Setup Guide"}]},{"@type":"WebSite","@id":"https:\/\/allinonewpsettings.com\/blog\/#website","url":"https:\/\/allinonewpsettings.com\/blog\/","name":"All in One WP Settings","description":"Fewer plugins. Faster WordPress.","publisher":{"@id":"https:\/\/allinonewpsettings.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/allinonewpsettings.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/allinonewpsettings.com\/blog\/#organization","name":"All in One WP Settings","url":"https:\/\/allinonewpsettings.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/allinonewpsettings.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/07\/aiows-logo.webp","contentUrl":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/2026\/07\/aiows-logo.webp","width":772,"height":250,"caption":"All in One WP Settings"},"image":{"@id":"https:\/\/allinonewpsettings.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/allinonewpsettings.com\/blog\/#\/schema\/person\/daa924a7f9a0d0fbe18ea77286693c57","name":"All in One WP Settings","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/aiows-avatar\/user-1.jpg","url":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/aiows-avatar\/user-1.jpg","contentUrl":"https:\/\/allinonewpsettings.com\/blog\/wp-content\/uploads\/aiows-avatar\/user-1.jpg","caption":"All in One WP Settings"},"sameAs":["https:\/\/allinonewpsettings.com\/blog"]}]}},"lang":"en","translations":{"en":1146,"de":1147,"tr":1148},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/comments?post=1146"}],"version-history":[{"count":0,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/posts\/1146\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/media\/7401"}],"wp:attachment":[{"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/media?parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/categories?post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allinonewpsettings.com\/blog\/wp-json\/wp\/v2\/tags?post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}