13.3. Kmail

Figure 13-7. KMail Icon

You find KMail under K-menu->Internet->KMail

Tip

You can also get up the K-menu by pressing ALT+F1

The very first thing you get up when you start KMail is an information box telling you that the directory Mail does not exist and that KMail will create it now. Click OK.

The first thing you see is this:

Figure 13-8. KMail Startup Screen

The first thing you do is to set up KMail so that you can send and receive email. Go to the menu line and click on Settings->Configure KMail...

Here you get a list of menu choices on the left. Let's start with "Identity"

Figure 13-9. KMail Identity

This is where you fill in correct information in the fields Name, Organization, Email Address, Reply-To Addressand, if desired, Signature.

Figure 13-10. KMail Network

Next you have to make KMail ready for sending and receiving email. Click on Network. This depends a bit on how your Internet provider handles your mail, for example SMTP, then you must choose sendmail, or fill out the name of your SMTP-server.

Figure 13-11. KMail New Account, Pop3

Next, you must add an account so that you can get your mail. You do this by going to Incoming Mail->Add...

This is where you fill in correct information about Name (that is, what you yourself want to call this account), Username, Password, Host, Port (which is most often 110).

It's important to decide here whether you want the password to be saved in a file (as clear text), or if you don't want that, which means that the password will have to be typed in every time someone gets their email. The later is the most secure and most often recommended. The next thing you have to consider is if you want people to be able to only get a copy of the email or get their email and have it deleted form the server. If you make the first choice (not deleting the email) then the server will get filled up with email, even if you delete it locally in KMail.

Figure 13-12. KMail New Account, IMAP

IMAP is another type of account. Here you must fill in correct information about Name (what you yourself want to call the account), Username, Password, Host, Port (which is most often 143). If you aren't sure what the different fields mean, you can click on "hjelp" to get an explanation.

Figure 13-13. KMail, Confirm Before Send

If you want to require confirmation before sending an email, put a cross in this box. You will then have to confirm that you really want to send an email, which can be a good thing if you just happen to accidentally hit the Send button.

Figure 13-14. KMail, Security Settings

People often get emails in the form of an HTML-file (which is not used any other place than on the Internet), typically from Outlook. There is a certain degree of security risk involved with these files; but by choosing clear text over HTML it can sometimes make things a bit cumbersome. By putting a cross here, it's easier to look at pictures that are sent as email.

Figure 13-15. KMail, Miscellaneous Settings

Here you have the possiblity of choosing to empty the trash when you exit KMail, or to keep trash size below a set mimit. You can also choose a nice melody to be played when you get an email.

13.3.1. Using KMail

Some of the buttons here are inactive. You can see that they are a lighter shade and you can't click on them because they won't accomplish anything in that particular situation. The buttons that are active and clearly presented are functional. By clicking on the picture of a mailbox with a blue arrow pointing down, you will get email from your mail server. by clicking on the picture with a blank piece of paper you can start to compose a new email.

By clicking on the blank piece of paper or going in to the menu Message->New Message... another window will appear with a different toolbar. The most important thing here is the picture of a paper clip. By clicking on that, you open up the file manager where you can choose a file to attach as an attachment. The paper clip symbolises an attachment. The other important item here is the picture of an envelope with a blue arrow pointing up. By clicking on that you send off the email.

13.3.2. Automatic Start and Checking of Email at Login.

It is possible to set up KDE so that it starts KMail automatically, as well as checks for email when you login. This is done by copying a shortcut to KMail into the file .kde/Autostart. See section Section 11.3

By changing a little of the shortcut file KMail.desktop, you can get KMail to check for email when it starts up. The file KMail.desktop contains a line that tells something about which options are available when KMail is started up

Exec=kmail -caption "%c" %i %m

By changing this to

Exec=kmail -caption "%c" %i %m -check
it will automatically check for email.