Configuring Kmail mail client for Gmail
This howto will show you how to setup your Kmail client to work with Gmail.
From the menu above select Settings -> Configure Kmail
Here you should click on “Identities” and then in manage identities you should modify the existing one or add new identitie.
Setting up POP3
You should click on “Accounts” from the menu in left. Then in right you should click on the “Receiving” tab. Here you should add a new account.
Account name: Any name you want
Login: Here you should put your gmail e-mail address
Password: Here you should put the password for your e-mail address
Host: You should put pop.gmail.com here.
Port: Here you should put 995
If you want you can mark the “Store POP password” checkbox so it won’t ask you for password any time you try to access your e-mail.
Setting up SMTP
Again from the menu “Accounts” you should click on the “Sending” tab and add new account.
Here you should set it like this:
Name: Any name you want
Below you should mark the “Server requires authentication” option.
Here you should put:
Login: Your e-mail address with gmail
Password: The password for your e-mail with gmail
If you want you can mark the “Store POP password” checkbox so it won’t ask you for password any time you try to send an e-mail.
Now you should click on the “Security” tab.
It’s done now. You can enjoy using Gmail over your Kmail mail client.
Source :- http://www.osguides.net/articles.php?article_id=39