Monday, July 24, 2006

Gmail and plus-addressing

Plus-addressing is an additional option in some mail servers including gmail. What I mean by "plus-addressing" I mean addresses containing '+' in the local part of the email i.e. user-host. For example lets assume that someones email is: If given server allows to use plus-addressing, you can append to the above email some string, also called a tag. And the above email may have form:,, or

What are advantages of this plus-addressing? Thanks to this, we can have one email account, and we can have few addresses just by adding tags. Real power of this system can be seen using gmail accounts, when there is possibility to tell what should be done automatically with incoming email containing additional string after '+' sign. In another words, i gmail such action are accessible by filters.

I will show how to create a filter. Lets create filter that looks for tag: 'todo'. Because of that me email address: Such email for example I will give to my boss that he could send me mails to that addres, and in my gmail account they automatically will be assigne to a label called e.g.: 'work_to_do'.

To begin with we need to create 'work_to_do' label. To do this, you go to Setting and than Labels in your gmail account. There new label can be created:

Then filter must be created. To make a filter first click on 'Create a filter':

and after that you create filter in two stages. Frist, you define your tag (string after plus sign in your email address):

In the second step you define what action should be done with such email. In this case we want to assign label 'work_to_do'. To do this, you check 'Apply the label' and select label to apply and you create filter:

And that's it. From this moment on, you can recieve emails in the form of, and they automatically are labeled 'work_to_do'.

Of course, you can consequently create others 'plus-addresses', and you can create different actions for them.

Your PHP installation appears to be missing the MySQL which is required for WordPress

Yesterday I went to this blog and I see:

Your PHP installation appears to be missing the MySQL which is required for WordPress.

I was quite suprise to see it, couse I hadn't been doing anything with my server configuration before, and yet something happend and this site was not working. What's more, my apache, php, mysql, phpmyadmin were working perfectly.

So, I did a little bit of googling, and I found solution on wordpress officiale site here.

I needed to add those lines just before mysql test in wp-settings.php:

if (!extension_loaded('mysql')){
if (!dl('')) {

I also tried the second possible solution listed there, but it wasn't working.