<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: 🎧Cirphrank👣</title>
    <description>The latest articles on Forem by 🎧Cirphrank👣 (@cirphrank).</description>
    <link>https://forem.com/cirphrank</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F132149%2F59fbd88f-414e-435b-a74d-dcf9496901b1.jpg</url>
      <title>Forem: 🎧Cirphrank👣</title>
      <link>https://forem.com/cirphrank</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/cirphrank"/>
    <language>en</language>
    <item>
      <title>Fixing System Mailing Issues On WordPress</title>
      <dc:creator>🎧Cirphrank👣</dc:creator>
      <pubDate>Mon, 19 Feb 2024 21:56:22 +0000</pubDate>
      <link>https://forem.com/cirphrank/fixing-system-mailing-issues-on-wordpress-44p1</link>
      <guid>https://forem.com/cirphrank/fixing-system-mailing-issues-on-wordpress-44p1</guid>
      <description>&lt;p&gt;In this post, I'll keep it as layman as possible and as concise as possible, such that even if you are not a developer, you'll find this easy to apply. Without any ado, let's get to it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem: custom mail won't work, the system not sending out mail, e.g. registration confirmation mail.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Solution: USE an SMTP Plugin or Update SPF records.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Using an SMTP.
&lt;/h2&gt;

&lt;p&gt;What a Similar Mail Transfer Protocol does is; evade the use of the PHP mail () function which is the default way your WordPress system uses in executing mail transfer, and proceeds to connect your WordPress system to a 3rd party mailing protocol to send emails instead, most people by default opt for SMTP plugin without even having any issue because most of them come with the option to configure the sender's name for your website whenever a mail is being sent out, something which the mail() function defaults to some wordpress@blablaba kinda name...&lt;/p&gt;

&lt;p&gt;But when your WordPress website stops sending out emails for whatever reason (which you may easily find the answer to by chatting up your hosting platform customer care), installing a plugin like WP Mail SMTP and configuring it PROPERLY will fix it. For me, I use: Fluent SMTP, none of these mentioned plugins has any affiliation to me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install, activate, goto it's settings.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For the host&lt;/strong&gt;, on an easy day, it will be your website's URL or smtp.yourwebsitename.tld or simply putting local host might even work.&lt;/p&gt;

&lt;p&gt;What certainly works though is: going to your website URL/webmail, then copying the URL that's in the address bar when the page opens, leaving out the column and numbers at the end, you'll have something like: server182.web-hosting.com - that is your host!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For Port&lt;/strong&gt;: 465&lt;/p&gt;

&lt;p&gt;587 or 27 are also indulgeable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For encryption&lt;/strong&gt;, use that which your site has, most likely SSL, if you are unsure, use TLS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For username and password&lt;/strong&gt;, use the login credentials to the email address you'd like your website to send mail as, as this whole guide is based on the presumption that you are using a mail created from your hosting's CPANEL, something like &lt;a href="mailto:mailengine@yourwebsite.com"&gt;mailengine@yourwebsite.com&lt;/a&gt; (I like to use mailengine for the name of the address of my system's auto emails get sent through😉) if you didn't have one earlier, log into your hosting account CPanel and set one up via the email section.&lt;/p&gt;

&lt;p&gt;If you're using any other mail client like Gmail and that's what you want to stick with, you'll have to read up their documentation on how to connect the system to an SMTP plugin. (mostly involves more hassle than CPanel-based webmail will give)&lt;/p&gt;

&lt;p&gt;When you've entered those credentials, that's it, click save or connect or whatever the plugin's last button for execution is, and you are good to go, mails should start getting sent now.&lt;/p&gt;

&lt;p&gt;But if after doing that, symptoms persist, then you possibly never needed to do that, the only thing that was ever wrong was not a mail() function getting disabled by the hosting company or something, it was a DNS record mishap, and you can quickly realize this from the subject email account being impossible to set up on other system's like your phone's mail client.&lt;/p&gt;

&lt;h2&gt;
  
  
  SPF Solution
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2p3hbc5q75cl6sovqkl3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2p3hbc5q75cl6sovqkl3.png" alt="Google Image Search for SPF records" width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The cause of this is mostly DNS record mismatch or inexistence, which can occur when you newly switched hosting or you switched your secure server layer provider, like from your host to Cloudflare.&lt;/p&gt;

&lt;p&gt;If it was a hosting package switch, just chat up customer care, tell them the problem and they'll update your SPF records and things will go back to being just fine. If you have switched to a 3rd party like Cloudflare, you'll need to ask them to kindly give you your domain's SPF records and you'll need to login to Cloudflare and update the records in the DNS section manually, and all will be well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Footnotes:
&lt;/h2&gt;

&lt;p&gt;Just in case you're curious: SPF is the sender policy framework, the record states all authorized servers that are allowed to send emails from your domain, hence you might want to treat them like a fragile pet.&lt;/p&gt;

&lt;p&gt;Don't know how to create custom emails in CPanels? - &lt;a href="https://docs.cpanel.net/knowledge-base/email/how-to-create-and-connect-to-an-email-account/" rel="noopener noreferrer"&gt;https://docs.cpanel.net/knowledge-base/email/how-to-create-and-connect-to-an-email-account/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How to create DNS records in Cloudflare: &lt;a href="https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/" rel="noopener noreferrer"&gt;https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;TLD means top-level-domain e.g. .com .net .org ...&lt;/p&gt;

&lt;p&gt;And that's it, comments or anything can come in in the comment section, Good day.&lt;/p&gt;

&lt;p&gt;Image source: &lt;a href="https://images.pexels.com/photos/4152505/pexels-photo-4152505.jp" rel="noopener noreferrer"&gt;Pexels&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>wordpress</category>
      <category>email</category>
      <category>dns</category>
    </item>
    <item>
      <title>When Coding Gets Boring</title>
      <dc:creator>🎧Cirphrank👣</dc:creator>
      <pubDate>Mon, 06 Apr 2020 15:04:27 +0000</pubDate>
      <link>https://forem.com/cirphrank/when-coding-gets-boring-256f</link>
      <guid>https://forem.com/cirphrank/when-coding-gets-boring-256f</guid>
      <description>&lt;p&gt;Over time I've realized coding got boring, for me. Yes, you read that right, the first love of my life became such a bore to me, actually felt seething pains in my heart any time I open VS code and nothing I write nor read just does it for me! And nothing excited me past the first-minute no more, not the new trends like Serverless CMS and all of this fast-rising frontend design utilities.&lt;/p&gt;

&lt;p&gt;See, it was quite devastating though I tried to downplay the effect it was having on me, while it was taking its toll, you could find me strolling in the park saying &lt;i&gt;I don't care, after all, most know me as a poet and that's it,&lt;/i&gt; but what was bringing pain was not what most know me as, but what I knew myself as and was beginning to see myself less of.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://4.bp.blogspot.com/-Z2MKykNhPXk/XotBqqf010I/AAAAAAAACkA/DJutO5KOwGwc5AkmLxTh5D68xOkhCkbYgCK4BGAYYCw/s1600/Sadm.jpg"&gt;&lt;img height="207" src="https://res.cloudinary.com/practicaldev/image/fetch/s--6nfw5iR7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://4.bp.blogspot.com/-Z2MKykNhPXk/XotBqqf010I/AAAAAAAACkA/DJutO5KOwGwc5AkmLxTh5D68xOkhCkbYgCK4BGAYYCw/s320/Sadm.jpg" width="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After a couple of months of letting the mental frustration that came with it drive me to weakness even on days I did nothing but game around with my mobile device in a bid to distract myself, I said to myself one day: &lt;b&gt;&lt;i&gt;I can't possibly be the only one experiencing this! and there must have been a couple of folks that have gone through this too.&lt;/i&gt;&lt;/b&gt;&lt;br&gt;
&lt;b&gt;&lt;i&gt;&lt;br&gt;
&lt;/i&gt;&lt;/b&gt; Upon asking myself that question, I headed on to give our friend a visit and it provided me a couple of answers that led to &lt;a href="https://softwareengineering.stackexchange.com/questions/38225/what-to-do-when-coding-begins-to-feel-boring-like-it-is-all-just-more-of-the-sa"&gt;this link&lt;/a&gt;. Over there, is an article from about 9years back! And the dude literally poured my heart out! one of the highlights of his rant for me is:&lt;/p&gt;

&lt;blockquote class="tr_bq"&gt;
&lt;span&gt;I feel that all this new stuff is all the same, with simpler (or more) abstractions or automation in it, but it all sounds the same to me. Over and over again. The computable language is all Turing computable, so coding is only a replication of a similar pattern in this subset of a partial function.&lt;/span&gt;
&lt;/blockquote&gt;

&lt;p&gt; Now that part hits differently. Well, I read on and scourged comments and some other pages, and guess what? I dare say coding has become less boring and our relationship is healing. How have I come about that? Keep reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://2.bp.blogspot.com/-jCRRwlOviak/XotB0MCoOWI/AAAAAAAACkI/nR1klSgnsbonLiAoedi6sIELtld2aepAgCK4BGAYYCw/s1600/christina-wocintechchat-com-m7K9pSyX4c4-unsplash.jpg"&gt;&lt;img height="212" src="https://res.cloudinary.com/practicaldev/image/fetch/s--6KMrmHuI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://2.bp.blogspot.com/-jCRRwlOviak/XotB0MCoOWI/AAAAAAAACkI/nR1klSgnsbonLiAoedi6sIELtld2aepAgCK4BGAYYCw/s320/christina-wocintechchat-com-m7K9pSyX4c4-unsplash.jpg" width="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The thing is, to have a proper relationship with a buddy like codes, you have to see you both as married and understand that marriage comes with lows as it does highs, so what do you do when the stormy tides come? &lt;b&gt;You baby it out!&lt;/b&gt;&lt;br&gt;
&lt;b&gt;&lt;br&gt;
&lt;/b&gt; &lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table class="tr-caption-container"&gt;&lt;tbody&gt;
&lt;br&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="http://3.bp.blogspot.com/-DwClNfz918A/XotB_j_n5vI/AAAAAAAACkU/svm8nj7S_SQuCK02AzVpNsx2r138KvjwACK4BGAYYCw/s1600/christina-wocintechchat-com-zrEkb4ILymM-unsplash.jpg"&gt;&lt;img height="212" src="https://res.cloudinary.com/practicaldev/image/fetch/s--4YGXkCZF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://3.bp.blogspot.com/-DwClNfz918A/XotB_j_n5vI/AAAAAAAACkU/svm8nj7S_SQuCK02AzVpNsx2r138KvjwACK4BGAYYCw/s320/christina-wocintechchat-com-zrEkb4ILymM-unsplash.jpg" width="320"&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;br&gt;
&lt;tr&gt;&lt;td class="tr-caption"&gt;Yes,&lt;b&gt; GOD IS DOPE!&lt;/b&gt;&lt;br&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;br&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;br&gt;
Finding that peace you found in coding when you had just started out will not actually come from mastering a new language or a new framework &lt;i&gt;&lt;span&gt;(you won't find happiness in your marriage again by getting another woman, you just gotta see your woman again how you did the first time)&lt;/span&gt;&lt;/i&gt;, it will come from going back to the basics and finding once again the complexities in basics. You gotta HTML and CSS your way out child :) (working for me). And how do you come about implementing that? Don't take up a new job, this is a time to work for yourself.

&lt;p&gt;Give yourself a simple task to build, e.g a URL Shortner web app, for me, I decided to work on &lt;a href="http://www.cirphrank.com/"&gt;&lt;/a&gt;&lt;a href="http://www.cirphrank.com"&gt;www.cirphrank.com&lt;/a&gt; - my homepage. To go about it, I downloaded a simple template, a bootstrap, hewn off clever manipulations of CSS and HTML. Just those two and nothing more.&lt;/p&gt;

&lt;p&gt;After deploying in my localhost, I toured it, then headed back to VSCode and started reading, yes, reading the codes and that's just it. ( I recalled that's how I started out learning PHP). I didn't care if I knew what I was seeing before, I just read it anyways and sometimes was wowed by how much basic stuff I'd forgotten about their existence. This kept on for a couple of days before I started manipulating as calmly as I could be, I was never in a rush to fix the color scheme of a typo after deployment. &lt;b&gt;I took my time to find all that excited me into starting off this journey in the first place, and it feels good.&lt;/b&gt;&lt;br&gt;
&lt;b&gt;&lt;br&gt;
&lt;/b&gt; &lt;br&gt;
&lt;a href="http://4.bp.blogspot.com/-KpV8OVxg_lo/XotCU7jrY9I/AAAAAAAACkk/L5Ai2yT49a4ZjotFRoMFAaggyaT8KBA7gCK4BGAYYCw/s1600/christina-wocintechchat-com-ZmG__dVYvYg-unsplash.jpg"&gt;&lt;img height="212" src="https://res.cloudinary.com/practicaldev/image/fetch/s--Tymejqee--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://4.bp.blogspot.com/-KpV8OVxg_lo/XotCU7jrY9I/AAAAAAAACkk/L5Ai2yT49a4ZjotFRoMFAaggyaT8KBA7gCK4BGAYYCw/s320/christina-wocintechchat-com-ZmG__dVYvYg-unsplash.jpg" width="320"&gt;&lt;/a&gt;&lt;br&gt;
&lt;b&gt;&lt;br&gt;
&lt;/b&gt; &lt;br&gt;
And also, I needed to apply what has best been explained in this post too? &lt;a href="https://dev.to/daraghbyrne/dealing-with-your-inner-critic-a-dev-s-guide-mmg"&gt;Dealing with your Inner Critic - a dev's guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Recap.&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Be a calm baby about it.
-Let go of the toxic inner critic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And that is all I have for you when coding gets boring. I plan to give a walkthrough on how I deployed Cirphrank online in a pseudo-dynamic protocol when next I talk about web development, see you soon. Çiao.&lt;/p&gt;

&lt;p&gt;&lt;span&gt;Images: &lt;span&gt;Photo by &lt;/span&gt;&lt;a href="https://unsplash.com/@wocintechchat?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Christina @ wocintechchat.com&lt;/a&gt;&lt;span&gt; on &lt;/span&gt;&lt;a href="https://unsplash.com/s/photos/grinning-developer?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;P.S.: I'm not a lady nor a white man, I'm a black boy.&lt;/p&gt;

</description>
      <category>developer</category>
      <category>webdev</category>
      <category>guide</category>
      <category>challenge</category>
    </item>
  </channel>
</rss>
