Mailchimp emails go to spam folder

Mailchimp emails go to spam folder

To improve the email deliverability and avoid your MailChimp emails go to spam folder there is a simple way to do it. I’ve spent about half an hour to understand why my emails got in the SPAM folder, so you don’t have to do it. In order to increase delivery rate to subscribers there is one more thing that needs your attention.


Why my emails go to spam?

There are many reasons to “why” the emails are going to spam. Someone might report it as spam, there are broken links in the email, it’s missing unsubscribe headers, alt attributes,you don’t have a good text-to-image ratio, etc. All this can affect the success of your email being send to the inbox of your subscribers.

When using Mailchimp services you need to do two things: verify and authenticate your domain. In order to do that, you need to configure the SPF record. This way your server authorize Mailchimp server to send emails from your domain. It might sound difficult but in fact in not that hard. Just adding the some modification to your DNS re records will do the trick.

SPF records: Authenticate your domain

In order to finish and verify Mailchimp you need to have access to your DNS records and to your Mailchimp account.

  • Go to Mailchimp>Account>Settings>Domains. If you are already verified, click Authenticate and a pop-up window will reveal the instructions.
  • Go to your domain in the DNS Editor and there you should be able to find and existing SPF record. Depending on your server, it could be a TXT record similar to this “v=spf1 ~all”.

 Create/Modify SPF

Click edit or modify and add the spf record indicated in MailChimp instructions.

“v=spf1 ?all”

You can only have one SPF record. So, if there is an existing one, like my example above, you’ll need to add the new record that should look like this:

“v=spf1 ~all”

That will ensure that you’ll get your email delivered.
~all – mails from hosts not specifically allowed are not permitted to send mails.
?all – not specified host is neutral and nothing can be said about the validity of it.

 Create CNAME

Create a CNAME record for k1._domainkey with the value of: If you need to set time to live TTL just use the default (usually 144000) or check other records you have.

Success! Email was delivered!

Click Authenticate Domain. Depending on your server, it can take up to 24/48 hours for the changes to propagate. Usually is just  a few moments, but it can take longer sometimes. If that is the case don’t worry, just come back later at MailChimp and click authenticate again.

How to limit characters in widget titles

How to limit characters in widget titles

Recently I had a request from a client to “make the titles in widget shorter”.

The thing that bummed me out was that the widget “recent posts” was a core file from wordpress. The problem with this was the fact that if you modify wordpress core file, at the next update, the file would get rewritten… So after some research on how to get this done, i’ve decided to take a break, as i couldn’d find a solution that woked. At a later time and with a fresh mind i took another aproach on this.

I tought that it must be some plugin that i can use in order to have a new widget with the same functions that the core file has, and to write that down. I found Custom Recent Post Widget can do this for me and i was so happy. Now all i had to do was to find the files that i needed to edit and to write some code over there… and that is what i’ve done.

Here is an example of how i did just that

1. Install and activate Custom Recent Post Widget
2. With your FTP client search inside the plugin folder search for includes>crpw-cat.php and open this file
3. Now you shoud find the class crpw-item, and inside that search for the tag (about line 52) like in the code below

<!--?php the_title(); ?-->

4. Replace the code above with this one


<a class="crpw-title" title="Permanent link to &lt;?php the_title_attribute(); ?&gt;" href="&lt;?php the_permalink(); ?&gt;" rel="bookmark"><!--?php if ( get_the_title() ) { $t = get_the_title(); $t = substr($t, 0, 40); /// if this doesn't work } echo mb_strimwidth(get_the_title(), 0, 50, '...'); ?--></a>

the next text

How to upgrade to PHP7 version from .htaccess

How to upgrade to PHP7 version from .htaccess

In case that you can’t use the PHP Version Manager in cPanel, you can change your PHP version by adding a line of code to your .htaccess file of your wordpress website.

To apply these changes you can use a FPT software like FileZilla (this is what i usually use). Locate your .httaccess file and at the top of the document add the following line of code:

AddType application/x-httpd-php71 .php

Or this line of code if the first one doesn’t work for you

Action application/x-httpd-php71 /cgi-sys/php71-fcgi-starter.fcgi

Here is an example

That’s all there is to it.

Windows 10 KB4056892 (16299.192) fails to install with error 0x80073715

Windows 10 KB4056892 (16299.192) fails to install with error 0x80073715

If you found this article there is no doubt that you already heard of Meltdown and Spectre security flaws, so i’m going to get straight to the point.

On my first atempt to install the patch KB4056892 Microsoft roled out for Windows 10, i’ve got the error 0x80073715.  I found articles on what to do and how to update the software, but nothing related to this specific error with this update and what is the connection between them. And i’ve starded to digg around so you don’t have to. Ultimately i tought that i might apply the simplest solution: Do a disk cleanup.

First let me share with you what i have tried and didn’t worked for me:

  1. Quick check from command line to see if the system is affected
  2. Troubleshoot > Windows Update > Run the troubleshoot – FAIL!
  3. Manualy download&install from online catalog the Cumulative Update for Windows 10 version 1709 for x64-based Systems – FAIL!
  4. Manualy download&install the Delta Update for Windows 10 version 1709 for x64-based Systems – FAIL!
  5. Edit the registry  (but if you’re not comfortable doing this YOU SHOULD NOT DO IT) – FAIL! (the registry was fine, it didn’t needed to be edited)

If you’d like to try more solutions, have a look at this article from lifehacker. Before you start it might be a good idea to backup first or at least make a restore point for Windows.

The simplest solution that worked for me and didn’t think of it the first time (why?? :)) )

  1. Search for Disk Cleanup tool in your system.
  2. Select the drive where your Windows 10 is ( this is C:\ in most cases)
  3. Click Clean up system files and select your C:\ drive again
  4. Check Windows Update Cleanup
  5. Hit OK and wait for the process to finish
  6. Go to Windows Update Settings and hit update again.

It might be a good ting to update all your drivers to the latest versions.

Now glad that it worked out. Sometimes we tend to complicate things and forget to try out the simplest solutions first. This is what happen this time… i’ve did the complicated things first without thinking that i should try the basic ones.

This reminded me of the  first rule of IT.  Turn it off and turn it back on again! 

Share this with firends, you might be able to help them out.