{"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":"2025-07-26T11:54:30","modified_gmt":"2025-07-26T11:54:30","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>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>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><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>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>To begin, install a plugin named\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/wp-mail-smtp\/\">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=\"\" 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>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=\"\" 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>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=\"\" 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>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><strong>Email Accounts -> &#8216;Connect Devices&#8217;<\/strong><\/p>\n\n\n\n<p>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>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=\"\" 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>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=\"\" 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","protected":false},"excerpt":{"rendered":"<p>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. All outbound mail is relayed via a premium delivery \/ SMTP service called \u2018MailChannels\u2019.This is designed to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"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","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":3,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/225\/revisions\/235"}],"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}]}}