{"id":17192,"date":"2024-03-26T08:52:22","date_gmt":"2024-03-26T08:52:22","guid":{"rendered":"https:\/\/www.webhosting.uk.com\/kb\/?p=17192"},"modified":"2026-06-16T08:32:08","modified_gmt":"2026-06-16T08:32:08","slug":"wordpress-switch-to-sending-email-via-smtp-php-mail-alternative","status":"publish","type":"post","link":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/","title":{"rendered":"WordPress &#8211; Switch to sending email via SMTP (PHP Mail Alternative)"},"content":{"rendered":"<p class=\"MsoNormal\">Due to security concerns, the use of the internal PHP mail() function is restricted on the majority of our shared servers. This affects the default email-sending mechanism in WordPress, which relies on the mail() function to deliver emails to both you and your blog users. To ensure email functionality, it is imperative to transition to SMTP authentication.<\/p>\n<p class=\"MsoNormal\">Unfortunately, there are no native settings within the WordPress Admin Area to facilitate this switch to SMTP for email delivery. However, you can achieve this by installing a suitable plugin. Numerous options are available, but it is crucial to select one that aligns with your WordPress version, boasts positive user reviews, and is deemed reliable and secure.<\/p>\n<h2 class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal; mso-outline-level: 2;\"><strong>How to find out what version of WordPress is running?<\/strong><\/h2>\n<p>In your WordPress Admin Area, the current version you have installed is mentioned at the bottom-right of each page. You can also find your installed WordPress version by going to the Dashboard and expanding the \u201cAt a Glance\u201d box.<\/p>\n<p class=\"MsoNormal\" style=\"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; line-height: normal;\">Follow the steps-<\/p>\n<ol>\n<li><strong>Install an SMTP plugin-<\/strong>\n<ol>\n<li>Log in to your WordPress Admin Area<span style=\"text-indent: -18pt; font-size: 16pt; font-family: 'Times New Roman', serif;\"><br \/>\n<a style=\"font-family: 'Times New Roman', serif; font-size: 16pt; text-indent: -18pt;\" href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17193 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png\" alt=\"dashboard\" width=\"703\" height=\"311\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png 703w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197-300x133.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/a><br \/>\n<\/span><\/li>\n<li>Go to Plugins &gt; Add New.<span style=\"text-indent: -18pt; font-size: 16pt; font-family: 'Times New Roman', serif;\"><br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6217a70.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17194 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6217a70.png\" alt=\"add new plugin\" width=\"170\" height=\"169\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6217a70.png 170w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6217a70-150x150.png 150w\" sizes=\"auto, (max-width: 170px) 100vw, 170px\" \/><\/a><br \/>\n<\/span><\/li>\n<li>At the top of the page, click the \u201cUpload Plugin\u201d button.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621ca45.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17195 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621ca45.png\" alt=\"upload plugin\" width=\"643\" height=\"222\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621ca45.png 643w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621ca45-300x104.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/a><\/li>\n<li>Search the plugin using the search tool as shown in the image given below.<span style=\"text-indent: -18pt; font-size: 16pt; font-family: 'Times New Roman', serif;\"><br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621fb67.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17196 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621fb67.png\" alt=\"search for a plugin\" width=\"426\" height=\"72\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621fb67.png 426w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_621fb67-300x51.png 300w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/a><br \/>\n<\/span><\/li>\n<li>You will find the plugin as shown below.<\/li>\n<li>Click on the \u201cInstall Now\u201d button.<span style=\"text-indent: -18pt; font-size: 16pt; font-family: 'Times New Roman', serif;\"><br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623305d.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17197 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623305d.png\" alt=\"install now\" width=\"121\" height=\"85\" \/><\/a><\/span><\/li>\n<li>Finally, click on \u201cActivate\u201d.<span style=\"text-indent: -18pt; font-size: 16pt; font-family: 'Times New Roman', serif;\"><br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623838e.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17198 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623838e.png\" alt=\"Activate\" width=\"526\" height=\"244\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623838e.png 526w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_623838e-300x139.png 300w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><\/a><br \/>\n<\/span><\/li>\n<\/ol>\n<\/li>\n<li><strong>Configure WP Mail SMTP-<\/strong><br \/>\nThe following steps are for the WP Mail SMTP plugin by Callum Macdonald. If you&#8217;re using a different plugin, the steps might be similar, but it is advised to refer to the documentation or guide specific to your chosen plugin.<br \/>\nFollow steps-<\/p>\n<ol>\n<li>Go to &#8220;Settings&#8221; &gt; &#8220;Email&#8221; (or &#8220;WP Mail SMTP&#8221; if there&#8217;s a separate menu option).\u00a0<span style=\"font-size: 16.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN;\"><br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_624c797.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17199 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_624c797.png\" alt=\"SMTP Host\" width=\"554\" height=\"501\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_624c797.png 554w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_624c797-300x271.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/a><br \/>\n<\/span><\/li>\n<li>You will see various options to configure SMTP settings.<\/li>\n<li>In the<strong> From Email<\/strong> field, type in the e-mail address you have set up or want to use for WordPress e-mails. Leave all other options as they are unless you know you need to change them.<\/li>\n<li>For Authentication (near the bottom), select \u201cYes: Use SMTP authentication.\u201d then enter your e-mail address and password in the Username and Password fields.<br \/>\nNote- Some common SMTP servers include Gmail (smtp.gmail.com), Outlook (smtp.office365.com), and SendGrid (smtp.sendgrid.net). Be sure to check your provider&#8217;s documentation for the correct settings.<br \/>\n<a href=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6266559.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17200 size-full\" src=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6266559.png\" alt=\"Authentication\" width=\"605\" height=\"286\" srcset=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6266559.png 605w, https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_6266559-300x142.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><\/li>\n<li>Finally, click &#8220;<strong>Save Changes<\/strong>&#8220;.<\/li>\n<li>Test your email configuration to ensure everything is working properly using the Send a Test Email form at the bottom of the same page.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p class=\"MsoNormal\">Hope you liked our article. If you require further assistance, get in touch with our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Due to security concerns, the use of the internal PHP mail() function is restricted on the majority of our shared servers. This affects the default email-sending mechanism in WordPress, which&hellip;<\/p>\n<p><a href=\"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/\" class=\"more-link\">Read More<\/a><\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' data-heateor-sss-href='https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" >Spread the love<\/div><div class=\"heateor_sss_sharing_ul\"><a aria-label=\"Facebook\" class=\"heateor_sss_facebook\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fwordpress-switch-to-sending-email-via-smtp-php-mail-alternative%2F\" title=\"Facebook\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg\" style=\"background-color:#0765FE;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"X\" class=\"heateor_sss_button_x\" href=\"https:\/\/twitter.com\/intent\/tweet?text=WordPress%20-%20Switch%20to%20sending%20email%20via%20SMTP%20%28PHP%20Mail%20Alternative%29&url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fwordpress-switch-to-sending-email-via-smtp-php-mail-alternative%2F\" title=\"X\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_x\" style=\"background-color:#2a2a2a;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg width=\"100%\" height=\"100%\" style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M21.751 7h3.067l-6.7 7.658L26 25.078h-6.172l-4.833-6.32-5.531 6.32h-3.07l7.167-8.19L6 7h6.328l4.37 5.777L21.75 7Zm-1.076 16.242h1.7L11.404 8.74H9.58l11.094 14.503Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"Linkedin\" class=\"heateor_sss_button_linkedin\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fwordpress-switch-to-sending-email-via-smtp-php-mail-alternative%2F\" title=\"Linkedin\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin\" style=\"background-color:#0077b5;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path d=\"M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z\" fill=\"#fff\"><\/path><\/svg><\/span><\/a><\/div><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":28,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1885],"tags":[1835],"class_list":["post-17192","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","tag-smtp-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>WordPress: Switch to SMTP for Email (PHP Mail Alternative)<\/title>\n<meta name=\"description\" content=\"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress - Switch to sending email via SMTP (PHP Mail Alternative)\" \/>\n<meta property=\"og:description\" content=\"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/\" \/>\n<meta property=\"og:site_name\" content=\"Webhosting UK Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhostingukcom\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-26T08:52:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-16T08:32:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/WordPress-Switch-to-sending-email-via-SMTP-PHP-Mail-Alternative-1200.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Victor G\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/WordPress-Switch-to-sending-email-via-SMTP-PHP-Mail-Alternative-1200.png\" \/>\n<meta name=\"twitter:creator\" content=\"@WebhostingUKcom\" \/>\n<meta name=\"twitter:site\" content=\"@WebhostingUKcom\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/\"},\"author\":{\"name\":\"Victor G\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\"},\"headline\":\"WordPress &#8211; Switch to sending email via SMTP (PHP Mail Alternative)\",\"datePublished\":\"2024-03-26T08:52:22+00:00\",\"dateModified\":\"2026-06-16T08:32:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/\"},\"wordCount\":444,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/Snag_61d8197.png\",\"keywords\":[\"SMTP server\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/\",\"name\":\"WordPress: Switch to SMTP for Email (PHP Mail Alternative)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/Snag_61d8197.png\",\"datePublished\":\"2024-03-26T08:52:22+00:00\",\"dateModified\":\"2026-06-16T08:32:08+00:00\",\"description\":\"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/Snag_61d8197.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/Snag_61d8197.png\",\"width\":703,\"height\":311},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress &#8211; Switch to sending email via SMTP (PHP Mail Alternative)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"name\":\"Webhosting UK Knowledge Base\",\"description\":\"Expert Insights on Hosting, Development, Security, Marketing, and SEO\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"alternateName\":\"WHUK\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\",\"name\":\"Webhosting UK\",\"alternateName\":\"WHUK\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"width\":1200,\"height\":628,\"caption\":\"Webhosting UK\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/webhostingukcom\",\"https:\\\/\\\/x.com\\\/WebhostingUKcom\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/webhostinguk\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webhosting-uk-com-ltd\\\/\",\"https:\\\/\\\/www.instagram.com\\\/webhosting_uk\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@webhostinguk\"],\"description\":\"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.\",\"email\":\"sales@webhosting.uk.com\",\"telephone\":\"0800 862 0890\",\"legalName\":\"Webhosting UK\",\"foundingDate\":\"2001-02-07\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"51\",\"maxValue\":\"200\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/ea067684eae84c2b8b49a81c69407297\",\"name\":\"Victor G\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g\",\"caption\":\"Victor G\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress: Switch to SMTP for Email (PHP Mail Alternative)","description":"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.","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:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/","og_locale":"en_GB","og_type":"article","og_title":"WordPress - Switch to sending email via SMTP (PHP Mail Alternative)","og_description":"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.","og_url":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/","og_site_name":"Webhosting UK Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/webhostingukcom","article_published_time":"2024-03-26T08:52:22+00:00","article_modified_time":"2026-06-16T08:32:08+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/WordPress-Switch-to-sending-email-via-SMTP-PHP-Mail-Alternative-1200.png","type":"image\/png"}],"author":"Victor G","twitter_card":"summary_large_image","twitter_description":"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.","twitter_image":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/WordPress-Switch-to-sending-email-via-SMTP-PHP-Mail-Alternative-1200.png","twitter_creator":"@WebhostingUKcom","twitter_site":"@WebhostingUKcom","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#article","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/"},"author":{"name":"Victor G","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297"},"headline":"WordPress &#8211; Switch to sending email via SMTP (PHP Mail Alternative)","datePublished":"2024-03-26T08:52:22+00:00","dateModified":"2026-06-16T08:32:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/"},"wordCount":444,"publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png","keywords":["SMTP server"],"articleSection":["WordPress"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/","name":"WordPress: Switch to SMTP for Email (PHP Mail Alternative)","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#primaryimage"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png","datePublished":"2024-03-26T08:52:22+00:00","dateModified":"2026-06-16T08:32:08+00:00","description":"Improve your WordPress email delivery by switching to SMTP as a PHP Mail alternative. Follow our systematic guide.","breadcrumb":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#primaryimage","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2024\/03\/Snag_61d8197.png","width":703,"height":311},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhosting.uk.com\/kb\/wordpress-switch-to-sending-email-via-smtp-php-mail-alternative\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhosting.uk.com\/kb\/"},{"@type":"ListItem","position":2,"name":"WordPress &#8211; Switch to sending email via SMTP (PHP Mail Alternative)"}]},{"@type":"WebSite","@id":"https:\/\/www.webhosting.uk.com\/kb\/#website","url":"https:\/\/www.webhosting.uk.com\/kb\/","name":"Webhosting UK Knowledge Base","description":"Expert Insights on Hosting, Development, Security, Marketing, and SEO","publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"alternateName":"WHUK","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhosting.uk.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization","name":"Webhosting UK","alternateName":"WHUK","url":"https:\/\/www.webhosting.uk.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","width":1200,"height":628,"caption":"Webhosting UK"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhostingukcom","https:\/\/x.com\/WebhostingUKcom","https:\/\/www.youtube.com\/c\/webhostinguk","https:\/\/www.linkedin.com\/company\/webhosting-uk-com-ltd\/","https:\/\/www.instagram.com\/webhosting_uk\/","https:\/\/www.tiktok.com\/@webhostinguk"],"description":"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.","email":"sales@webhosting.uk.com","telephone":"0800 862 0890","legalName":"Webhosting UK","foundingDate":"2001-02-07","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}},{"@type":"Person","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/ea067684eae84c2b8b49a81c69407297","name":"Victor G","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9bf0713adcbaded4878508c93d93927ecbfa4f74548fd9bcee41478d8768bd66?s=96&d=mm&r=g","caption":"Victor G"}}]}},"_links":{"self":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/17192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/comments?post=17192"}],"version-history":[{"count":6,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/17192\/revisions"}],"predecessor-version":[{"id":19113,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/17192\/revisions\/19113"}],"wp:attachment":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/media?parent=17192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/categories?post=17192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/tags?post=17192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}