User:IulianB/KMailSetup

From KDE UserBase Wiki

We know that KDE has an email client called KMail.


The most popular platform that it can be used on is Linux.

Introduction

KMail is a fantastic email client that does almost everything you need it to do.

It even offers email signing and encryption support to send your email securely and easily.

If it is configured appropriately, it can benefit you a lot and if you are a KDE user and haven't tried out KMail yet, we suggest you to do it.

In this guide we'll learn:

  • How to set up our KMail settings where we'll learn to adjust KMail to our preferred usage.
    • First we'll introduce the concept of Identities which helps us categorize our mails according to our daily activities.
    • Second we'll help you understand the difference between Identities and Accounts the latter of which will help us configure how we want to receive our mails.
    • Finally we'll mention other features provided by Kmail to configure and cater to our needs.
  • How to send and receive mails.

Note

We presume that KMail 4.7.2 is the version that is installed (which we are going to discuss about and use) before going through this guide.


How to set up Kmail

First of all, you have to open the email client.

When you've completed this step, you'll have to go to the Settings menu at the top and select

Configure Kmail like in the image bellow:

The default Kmail configuration window will appear:

KMail supports sending emails with "different hats on".

Lets take these 3 examples:work,private and drumband.

You can use an email address for work to set encryption and for private and drumband you

can use the same email address but with a different signature.


Identities

Information

Identities are keywords used to easily recognize your account.


Information

Identities are needed in case that we are using different signatures or return addresses for work and home.


Information

There isn't a restricted number for identities.You can create as many as you need.


To create an identity, you need to go to the Identities icon and then click on the ,,Add"

button.Fill in the name of your new identity, click Ok, and voila, there you have it.

Bellow you have an image:

If you want to create a new identity having the same fields as an existing one, you simply click

Add again and select Duplicate existing identity, and below it you choose the identity.The

difference here will be the name of the new identity.

If you want to create one with empty fields, just select With empty fields.


When clicking on the "Identities" icon on the left you should see one default identity, so you

can choose to Modify this identity with the button you'll see on the right.

Now you can fill out the Identities window with your name, organization, and email address, just

like in the image below:

Lets say that you have a @gmail.com and a @yahoo.com address.No matter what address you're sending

email from, you can receive your messages to a selected email address by going to

Identities -> Modify-> Advanced and at Reply-To address you can write the address where

you want to receive your messages.


Account

After you have completed creating an Identity, you need to add an Account .

One identity would not be enough due to the fact that you may want to have the same account but with

different identities.

This could help you make the difference between your works.

i will explain here the difference between an Identity and an Account.

Lets say that your Identities are JamesBond and WillSmith.If you are JamesBond to a group of

people and WillSmith to another group of people, then you may have some email addresses owned by

JamesBond and a few other email addresses owned by WillSmith.The email addresses of these versions are

your Accounts.

You want to select the Accounts icon on the left of the Kmail configuration window, and then

click on the "Add" button.


Note

You are in the Receiving tab, which means that you are creating accounts that receive messages.


I'll show you some examples of how i've set up my account.


First of all, you got to decide which protocol you wish to use to receive your messages.KMail supports the following accounts : IMAP , POP3 .

Lets presume that you have chosen POP3 protocol. You need to keep in mind that you'll need to

look out for the protocol's host name first to fill in all the corresponding lines. Bellow you'll see

two pictures of my setup:

Regarding the Sending tab, it is similar to the Receiving tab. You can Add a new

account that you would like to send messages from or use the existing one.

The image bellow should give a better description:


Appearance

After you've finished with the Accounts icon, you can choose to select the Appearance icon.

In the Fonts tab , you can choose how to design the aspect of your text , when you will want to

send an email.

The Colors tab allows you to change the color of the text by double clicking on an item in the

listbox.

The Layout tab lets you configure the layout of the main window.

In the Message List tab you can alter the appearance of the Message List pane and can choose

between several date formats.

In the Message Window tab you can:

  • Close message window after replying or forwarding
  • Show HTML status bar
  • Replace smileys by emoticons
  • Reduce font size for quoted text
  • Show expand/collapse quote marks
  • Fallback character encoding
  • Override character encoding

Just be sure that you have the Always show KMail in system tray option checked if you want Kmail

to remain in your system tray.

You can do that by going to Appearance-> System Tray and then check the bracket with the option

mentioned above.

Here you have an image:


Composer

In the Composer icon, there's a feature that notices if you mention the word "attach" or

attached" in the body of your email but are not attaching anything to that message.You can write as

many keywords as you like in the Attachments tab. You can look at the picture bellow as an

example:

In the General tab, you can enhance your email page's aspect, when you want to compose a mail.

In the Standard Templates tab, you can add, edit, and delete custom message templates.

In the Custom Templates tab, there are four types of custom templates used to Reply,

Reply to All, Forward, and Universal, which can be used for all kinds of operations.

In the Subject tab, you have a list of prefixes for Reply and Forward.

In the Charset tab you can manage the default charsets used for your own messages.

In the Headers tab , you can:

  • Use custom message-id suffix
  • Custom message-id suffix
  • Use custom Message-Id suffix
  • Define custom mime header fields


Security

In the Security icon, you can choose to set the options as you wish to.

For example:

In the Reading tab you can configure security options for reading messages.

In the Composing tab you can configure security options for composing messages.

In the Miscellaneous tab you can switch security warnings on and off.

The S/MIME Validation tab contains selected entries from GpgSM's.


How to send a mail

To compose an email, you simply go to Message -> New Message, right before you open your KMail.

If you have 2 or more identities, go to View and check the Identity box.

Look at the image bellow: