{"id":3851,"date":"2021-07-28T20:21:33","date_gmt":"2021-07-28T20:21:33","guid":{"rendered":"https:\/\/obambu.com\/guide\/?p=3851"},"modified":"2021-07-28T20:23:45","modified_gmt":"2021-07-28T20:23:45","slug":"how-to-change-wordpress-mail-to-smtp","status":"publish","type":"post","link":"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/","title":{"rendered":"How to change WordPress mail to SMTP"},"content":{"rendered":"\n<p>Sending emails through <strong>WordPress<\/strong> is very annoying and if you clicked on this article, chances are you think the same thing.<\/p>\n\n\n\n<p>The reason being that WordPress as a default uses <strong><a href=\"https:\/\/www.php.net\/manual\/en\/function.mail.php\" target=\"_blank\" rel=\"noreferrer noopener\">PHP mail<\/a> <\/strong>function which in theory is not the best one to have.<\/p>\n\n\n\n<p>It has serious limitations like not letting you build HTML templates or add attachments and images. Which to be fair are things you ordinarily want to do while sending emails. It also struggles with email headers meaning the emails you send are likely to land in spam folders (disastrous).<\/p>\n\n\n\n<p>But don\u00b4t worry, you can change the email function to<strong> SMTP<\/strong> which is much better for sending emails. Here\u00b4s how to do it:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to change WordPress mail to SMTP<\/h2>\n\n\n\n<p>The easiest way to integrate SMTP to the WordPress email is via a plugin called <strong><em>Easy WP SMTP<\/em><\/strong><\/p>\n\n\n\n<p>Here are the steps to take:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Instal the Easy <strong>WP SMTP plugin<\/strong> and then activate it<\/li><li>Click on the plugin to view the configurations available<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"451\" src=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-1-SMTP.png\" alt=\"how to change wordpress mail to SMTP\" class=\"wp-image-3852\" srcset=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-1-SMTP.png 885w, https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-1-SMTP-300x153.png 300w, https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-1-SMTP-300x153@2x.png 600w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After choosing the <strong>SMTP<\/strong> you\u00b4ll have to enter the server\u00b4s configuration settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"638\" src=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-2-SMTP.png\" alt=\"how to change wordpress mail to SMTP\" class=\"wp-image-3853\" srcset=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-2-SMTP.png 883w, https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-2-SMTP-300x217.png 300w, https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/Captura-2-SMTP-300x217@2x.png 600w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>SMTP host<\/strong>: the hostname of your server<\/li><li><strong>Type of encryption<\/strong>: choose between SSL, TLS or none at all<\/li><li><strong>Smtp port<\/strong>: The port your server uses<\/li><li><strong>Authentication:<\/strong> in case your server needs authentication<\/li><li>SMTP <strong>username<\/strong>: server username<\/li><li><strong>Password<\/strong>: and your smtp server\u00b4s password.<\/li><\/ul>\n\n\n\n<p>As you see, changing the mail function is very easy and it make the wordpress email usable. <\/p>\n\n\n\n<p>I hope you found this article useful. If your interested in reading more tutorial articles or related with wordpress and hosting, be sure to check out the <strong><a href=\"https:\/\/obambu.com\/guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">Obambu Guide<\/a><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sending emails through WordPress is very annoying and if you clicked on this article, chances are you think the same thing. The reason being that WordPress as a default uses PHP mail function which in theory is not the best one to have. It has serious limitations like not letting you build HTML templates or<\/p>\n","protected":false},"author":2,"featured_media":3855,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-3851","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-obambu-tutorials"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.6.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to change Wordpress mail to SMTP - Obambu Guide | Navigating the Web Hosting World<\/title>\n<meta name=\"description\" content=\"The easiest way to change to SMTP to the Wordpress email is via the Easy WP SMTP plugin. Then activate it and enter the mail server settings:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change Wordpress mail to SMTP - Obambu Guide | Navigating the Web Hosting World\" \/>\n<meta property=\"og:description\" content=\"The easiest way to change to SMTP to the Wordpress email is via the Easy WP SMTP plugin. Then activate it and enter the mail server settings:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/\" \/>\n<meta property=\"og:site_name\" content=\"Obambu Guide | Navigating the Web Hosting World\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-28T20:21:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-28T20:23:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/oipj8kolx_s.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"1067\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/obambu.com\/guide\/#website\",\"url\":\"https:\/\/obambu.com\/guide\/\",\"name\":\"Obambu Guide | Navigating the Web Hosting World\",\"description\":\"Explore dozens of tutorials and how-to guides on Obambu Guide. Learn, Build, Grow!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/obambu.com\/guide\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/oipj8kolx_s.jpg\",\"contentUrl\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/oipj8kolx_s.jpg\",\"width\":1600,\"height\":1067,\"caption\":\"how to change wordpress mail to SMTP\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/#webpage\",\"url\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/\",\"name\":\"How to change Wordpress mail to SMTP - Obambu Guide | Navigating the Web Hosting World\",\"isPartOf\":{\"@id\":\"https:\/\/obambu.com\/guide\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/#primaryimage\"},\"datePublished\":\"2021-07-28T20:21:33+00:00\",\"dateModified\":\"2021-07-28T20:23:45+00:00\",\"author\":{\"@id\":\"https:\/\/obambu.com\/guide\/#\/schema\/person\/7cfedd97f012c03c8c95528885e359e2\"},\"description\":\"The easiest way to change to SMTP to the Wordpress email is via the Easy WP SMTP plugin. Then activate it and enter the mail server settings:\",\"breadcrumb\":{\"@id\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-change-wordpress-mail-to-smtp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/obambu.com\/guide\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change WordPress mail to SMTP\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/obambu.com\/guide\/#\/schema\/person\/7cfedd97f012c03c8c95528885e359e2\",\"name\":\"Alejandro Prieto\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/obambu.com\/guide\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/20200731_145844.jpg\",\"contentUrl\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/20200731_145844.jpg\",\"caption\":\"Alejandro Prieto\"},\"url\":\"https:\/\/obambu.com\/guide\/author\/alejandro\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/comments?post=3851"}],"version-history":[{"count":1,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3851\/revisions"}],"predecessor-version":[{"id":3854,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3851\/revisions\/3854"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/media\/3855"}],"wp:attachment":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/media?parent=3851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/categories?post=3851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/tags?post=3851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}