{"id":225,"date":"2021-02-23T19:18:49","date_gmt":"2021-02-23T19:18:49","guid":{"rendered":"https:\/\/yegara.com\/en\/guide\/?p=225"},"modified":"2026-10-03T18:04:18","modified_gmt":"2026-10-03T18:04:18","slug":"how-to-configure-wordpress-to-use-smtp-for-sending-emails","status":"publish","type":"post","link":"https:\/\/yegara.com\/en\/guide\/how-to-configure-wordpress-to-use-smtp-for-sending-emails\/","title":{"rendered":"How to Configure WordPress to Use SMTP for Sending Emails"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WordPress uses the wp_mail function to send emails via PHP mail, but it lacks authentication, which is why emails that you send via WordPress\u2019s built-in PHP mail method often end up in spam or get server IP blacklisted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All outbound mail is relayed via a premium delivery \/ SMTP service called \u2018MailChannels\u2019.This is designed to ensure the highest delivery rates possible in the hosting industry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Important: When using PHPMail() instead of the recommended \u2018SMTP\u2019 for WordPress emails, your emails will not be relayed via MailChannels at all.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow these steps to enable SMTP on tour wordpress site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Install and activate SMTP plugin <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To begin, install a plugin named\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/wp-mail-smtp\/\" target=\"_blank\" rel=\"noopener\">WP Mail SMTP<\/a> . <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"322\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-16.png\" alt=\"To begin, install a plugin named WP Mail SMTP .\" class=\"wp-image-226\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-16.png 832w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-16-300x116.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-16-768x297.png 768w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">2. Go to Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the plugin is installed and activated, a new menu will show up under the\u00a0<strong>Settings<\/strong>\u00a0section called\u00a0<strong>WP Mail SMTP. <\/strong> Under it click on <strong>Settings.\u00a0<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"878\" height=\"359\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-17.png\" alt=\"Once the plugin is installed and activated, a new menu will show up under the Settings section called WP Mail SMTP.\" class=\"wp-image-227\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-17.png 878w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-17-300x123.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-17-768x314.png 768w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">3. Configure the plugin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On The setting Page Scroll down to &#8220;<strong>Mailer<\/strong>&#8221; section and select <strong>other SMTP <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"309\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19-1024x309.png\" alt=\"On The setting Page Scroll down to Mailer section and select other SMTP\" class=\"wp-image-230\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19-1024x309.png 1024w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19-300x91.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19-768x232.png 768w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19-1200x362.png 1200w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-19.png 1298w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The SMTP details for your mail accounts can be found by logging in to cPanel, then going to&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Email Accounts -> &#8216;Connect Devices&#8217;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SMTP Host: mail.yourdomain.com<br>(replacing &#8216;yourdomain&#8217; with your actual domain name)<br><br>TLS Port: 587<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Username: Your email address<br>Password: The password to access the email address<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"582\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-1024x582.png\" alt=\"Password: The password to access the email address\" class=\"wp-image-232\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-1024x582.png 1024w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-300x170.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-768x436.png 768w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-1536x873.png 1536w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21-1200x682.png 1200w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-21.png 1579w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">4. Test Your setting <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That is it, Now you can test your email to see if your messages are getting delivered. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22-1024x531.png\" alt=\"That is it, Now you can test your email to see if your messages are getting delivered.\" class=\"wp-image-233\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22-1024x531.png 1024w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22-300x156.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22-768x398.png 768w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22-1200x622.png 1200w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2021\/02\/image-22.png 1334w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading yg-related-title\">Related guides<\/h2>\n\n\n\n<ul class=\"wp-block-list yg-related\">\n<li><a href=\"https:\/\/yegara.com\/en\/guide\/ditch-the-gmail-com-how-to-set-up-professional-business-email-in-3-steps\/\">Ditch the @gmail.com: How to Set Up Professional Business Email in 3 Steps<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/yegara.com\/en\/guide\/how-to-install-wordpress-in-cpanel-and-direct-admin\/\">How to Install WordPress in One Click<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/yegara.com\/en\/guide\/how-to-create-an-email-account-in-directadmin\/\">How to Create an Email Account in DirectAdmin<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/yegara.com\/en\/guide\/email-not-sending-or-arriving\/\">Email Not Sending or Arriving? Here Is What to Check<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/yegara.com\/en\/guide\/wordpress-troubleshooting\/\">WordPress Troubleshooting: Get Back In and Fix Common Problems<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Stop WordPress emails landing in spam by sending them through authenticated SMTP instead of PHP mail.<\/p>\n","protected":false},"author":1,"featured_media":1092,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,3,23],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email","category-how-to","category-wordpress"],"_links":{"self":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":6,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":1375,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/225\/revisions\/1375"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/media\/1092"}],"wp:attachment":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}