Lately I have been on a roll with Claws mail (see "Claws Mail: The unsung powerhouse email client", "Claws Mail must have plugins", "Create Message Filters in Claws Mail", and "Encrypting email in Claws Mail".)
The reason for that? It's an outstanding email client that is powerful, fast, and very flexible. In fact I would argue that Claws Mail is one of the most flexible email clients available. To illustrate that I want to introduce you to a feature that I find a "must use" for my email needs. That feature? Templates.
The Claws Mail template feature allows you to create specific templates that format your email in precisely the way you want them. Your compositions, your replies, and your forwards can leave your PC laid out exactly the way you want them. And it doesn't take a programmer or guru to set templates up. You just have to understand the strings used by Claws Mail that allow you to insert specific, pre-configured fields into the body of your email.
You can create templates within one of two windows: "Preferences for current account" or "Preferences" (the former only configures templates for the account being used and the latter configures templates globally). Both of these windows can be opened from within the Configuration menu. Once in either of these windows go to the Templates section where you will find three tabs (see Figure 1): Compose, Reply, and Forward. The first thing you must do is decide what type of template you want to create. Most often people use the Reply template so they can format how they want their replies to look.
As you can see, in Figure 1, I have already created a template. The template I have created does this when I reply to an email:
The first line of the reply reads In a recent email ORIGINAL_SENDER said the following:
to this REPLY_SENDER says:
A: Because it makes understanding the conversation harder?
Q: What is wrong with top posting?
You will also notice a bit of snarkiness at the end. ;-)
To achieve this layout I used the following pre-defined tags:
The %X tag is one of the most interesting of the tags. It is with this tag you define where you want your cursor to be placed when you begin the email. Because Claws Mail defaults to bottom posting, and has no means to change this to top posting, you have to define top posting by using the %X tag. So if I want to always top post in my replies I would create a reply template like this:
Is my reply to an email sent by %N, that said:\n
To get a full list of all the possible tags to use click the Information button inside of the Templates configuration window. You will also notice you can use regular expressions in your templates. The possibilites abound!
Once you start using templates in Claws Mail you will really begin to see how flexible this application is. Once I started using templates I never looked back to Thunderbird. Have you created a cool template for Claws Mail? If so, share it with your fellow Ghacks readers.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.