Working with GMail: Difference between revisions

From KDE Wiki Sandbox
(Introduction to setting up incoming and outgoing connections to Gmail with Kontact)
 
(formatting tweek)
 
(71 intermediate revisions by 5 users not shown)
Line 1: Line 1:
One of the options you can do is to allow IMAP forwarding from a Gmail account to Kmail, which can be accessible through Kontact.
<languages />
Firstly, you need to open up Kontact, you can access it by simply typing its name in the search bar. Now, after Kontact starts up, click on Mail in the left vertical navigation bar.
<translate>
This brings you to the Kmail part of Kontact. To set up the forwarding options, go to:
<!--T:1-->
Settings -> Configure KMail.
{{Warning|1=These instructions are only valid for kdepim and Korganizer version 4.3.7 and later. There are significant differences in the older versions, therefore, some instructions may not apply.}}


For the purposes of this tutorial, my email will be sync.with.kontact@gmail.com.
<!--T:2-->
{{Note|1= For demonstration purposes, the Google account used in this tutorial is sync.with.kontact@gmail.com}}


The first step is to create a basic identify, this is to separate multiple accounts in the future, if you have them. Next, go to the accounts tab on the left navigation bar. Here you can configure the incoming and outgoing mail accounts.
== Introduction == <!--T:3-->


Setting up Incoming Mail:
<!--T:4-->
This tutorial will allow you to setup ''IMAP'' forwarding from a Gmail account to '''KMail''', which can be accessible through '''Kontact'''.


Click on Add, and then ensure that “IMAP E-Mail Server” is highlighted, and then click OK.
== Incoming Mail Forwarding (IMAP Connection) == <!--T:5-->
After this, 2 prompts will come up offering integration with the KDE Wallet service. For convenience, select the option entitled “Allow Always”


Now it is time to configure the incoming connection. Name your account Name whatever you want. Now, enter imap.gmail.com as the IMAP server. Your username is your email account, in this case mine is sync.with.kontact@gmail.com.  The password is the password of your Gmail account.
<!--T:6-->
Firstly, you need to open '''Kontact'''.  You can access it by simply typing its name in the search bar. Now, after '''Kontact''' starts up, click on <menuchoice>Mail</menuchoice> in the left vertical navigation bar.
This brings you to the '''KMail''' part of '''Kontact'''. To set up the forwarding options, go to:
<menuchoice>Settings -> Configure KMail</menuchoice>.


Next, go to the Advanced tab, and ensure that it is connected on Port 993 with the SSL/TLS radio button left on. As for authentication, according to the KMail documentation, DIGEST-MD5 encryption is recommended, however for now Google’s IMAP server does not support any of this, so cleartext must be selected.
<!--T:7-->
The first step is to create a basic identify, this is to separate multiple accounts in the future, if you have them.  


Click OK.
<!--T:8-->
Another KDE wallet prompt should show up, and for convenience, you can select the “Allow Always” option.
{|class="tablecenter vertical-centered"
|[[Image:Add_new_kmail_identity.png|250px|thumb]]
|Setting up a new Kmail identity.
|[[Image:KontacT_integration_kmail_identity_settings_edit.png|250px|thumb]]
|Configuring the new identity.
|}


To check your emails, find the Inbox of your newly setup account, in this case, Gmail Incoming, and press F5 to refresh and download new emails from the server
Congratulations, you have set up forwarded email from Gmail using IMAP!


<!--T:10-->
Next, go to the <menuchoice>Accounts</menuchoice> tab on the left navigation bar. Here you can configure the incoming and outgoing mail accounts.


How to setup outgoing email (SMTP):
<!--T:11-->
To setup an outgoing connection, similar steps must be taken to add the new connection, which is treated as a new account by Kmail. Open up the Kmail Configuration window, and go to the Accounts area in the left navigation bar. Instead of using the Receiving Tab, which was used to setup the incoming (IMAP) connection switch to the Sending tab now.
[[File:Accounts.png|250px|thumb|center|The Incoming/Outgoing Accounts Screen.]]


Now, click on Add... and select the SMTP option and click OK. Afterwards, a Configure Account window will appear.
The following details are needed by Kontact.


Outgoing mail server: smtp.gmail.com (Check the “Server requires authentication button)
===Setting up Incoming Mail:=== <!--T:12-->
Login: Your Gmail account. Here it is sync.with.kontact@gmail.com
Password: Your Gmail password.


For convenience, check the Store SMTP password.
<!--T:13-->
Click on <menuchoice>Add</menuchoice>, and then ensure that ''“IMAP E-Mail Server”'' is highlighted, and then click <menuchoice>OK</menuchoice>.
After this, 2 prompts will come up offering integration with the '''KDE Wallet''' service. For convenience, select the option entitled <menuchoice>Allow Always</menuchoice>.


Now, go to the Advanced Tab of the window and enter the following information.
Encryption: SSL
Port: 465
Authentication: PLAIN


When sending your first email from Kontact, you will need to save the information in KDE wallet once so it won’t have to be used later.
<!--T:14-->
{|class="tablecenter vertical-centered"
|[[Image:Add_imap_acc_edit.png|250px|thumb]]
|Adding the new IMAP account.
|[[Image:Wallet1.png|250px|thumb]]
|Configuring KDE Wallet.
|}


Congratulations, now you can fully send and receive mail through Kontact!
<!--T:16-->
Now it is time to configure the incoming connection. Name your account ''Name'' whatever you want. Now, enter  as the '''IMAP server''' <code>''imap.gmail.com''</code>. Your Username is your email account, in this case mine is ''sync.with.kontact@gmail.com''.  The '''Password''' is the password of your Gmail account.
 
<!--T:17-->
[[File:Configing_imap_1_edit.png‎|200px|thumb|center]]
 
 
<!--T:18-->
Next, go to the <menuchoice>Advanced</menuchoice> tab, and ensure that it is connected on Port 993 with the <menuchoice>SSL/TLS</menuchoice> radio button left on. As for authentication, according to the '''KMail''' documentation, ''DIGEST-MD5 encryption is recommended, however for now Google’s IMAP server does not support any of this, so cleartext must be selected.''
 
<!--T:19-->
Click <menuchoice>OK</menuchoice>.
Another '''KDE Wallet''' prompt should show up, and for convenience, ''you can select the <menuchoice>Allow Always</menuchoice> option.''
 
<!--T:20-->
To check your emails, find the Inbox of your newly setup account, in this case, ''Gmail Incoming'', and press <keycap>F5</keycap> to refresh and download new emails from the server.
 
== Outgoing Mail Setup (SMTP Connection)== <!--T:21-->
 
<!--T:22-->
To setup an outgoing connection, similar steps must be taken to add the new connection, which is treated as a new account by '''KMail'''. Open up the '''KMail''' Configuration window, and go to the <menuchoice>Accounts</menuchoice> area in the left navigation bar. Instead of using the <menuchoice>Receiving</menuchoice> tab, which was used to setup the incoming (IMAP) connection switch to the <menuchoice>Sending</menuchoice> tab now.
 
<!--T:23-->
Now, click on Add... and select the <menuchoice>SMTP</menuchoice> option and click <menuchoice>OK</menuchoice>. Afterwards, a '''Configure Account''' window will appear.
The following details are needed by '''Kontact'''.
 
<!--T:24-->
<menuchoice>Outgoing mail server</menuchoice> <code> smtp.gmail.com</code> (Check the <menuchoice>Server requires authentication</menuchoice> button) <br />
<menuchoice>Login</menuchoice> <code>'''''Your Gmail account.'''''</code> Here. it's "sync.with.kontact@gmail.com"  <br />
<menuchoice>Password</menuchoice> <code>'''''Your Gmail password.''''' </code>
 
<!--T:25-->
For convenience, check the <menuchoice>Store SMTP password</menuchoice> option.
Now, go to the <menuchoice>Advanced</menuchoice> tab of the window and enter the following information.
 
<!--T:26-->
<menuchoice>Encryption</menuchoice> <menuchoice>SSL</menuchoice><br />
<menuchoice>Port:</menuchoice> <menuchoice>465</menuchoice><br />
<menuchoice>Authentication</menuchoice> <menuchoice>PLAIN</menuchoice><br />
 
<!--T:33-->
After OKing the dialog, click the <menuchoice>Set as Default</menuchoice> button to make the newly added connection the default.
 
<!--T:27-->
When sending your first email from '''Kontact''', you will need to save the information in '''KDE Wallet''' once so it won’t have to be used later.
 
=== GIF Animation === <!--T:28-->
 
<!--T:29-->
{{Note|1=Click the image below to watch the GIF Animation which displays this process in sequence for convenience}}
 
 
 
<!--T:30-->
Congratulations, now you can fully send and receive mail through '''Kontact'''!
 
<!--T:31-->
[[File:Steps_to_set_up_smtp.gif‎|center|400px|link=Steps_to_set_up_smtp.gif]]
 
<!--T:32-->
[[Category:Office]]
[[Category:Internet]]
</translate>

Latest revision as of 10:17, 22 December 2013

Warning
These instructions are only valid for kdepim and Korganizer version 4.3.7 and later. There are significant differences in the older versions, therefore, some instructions may not apply.


Note
For demonstration purposes, the Google account used in this tutorial is sync.with.kontact@gmail.com


Introduction

This tutorial will allow you to setup IMAP forwarding from a Gmail account to KMail, which can be accessible through Kontact.

Incoming Mail Forwarding (IMAP Connection)

Firstly, you need to open Kontact. You can access it by simply typing its name in the search bar. Now, after Kontact starts up, click on Mail in the left vertical navigation bar. This brings you to the KMail part of Kontact. To set up the forwarding options, go to: Settings -> Configure KMail.

The first step is to create a basic identify, this is to separate multiple accounts in the future, if you have them.

Setting up a new Kmail identity.
Configuring the new identity.


Next, go to the Accounts tab on the left navigation bar. Here you can configure the incoming and outgoing mail accounts.

The Incoming/Outgoing Accounts Screen.


Setting up Incoming Mail:

Click on Add, and then ensure that “IMAP E-Mail Server” is highlighted, and then click OK. After this, 2 prompts will come up offering integration with the KDE Wallet service. For convenience, select the option entitled Allow Always.


Adding the new IMAP account.
Configuring KDE Wallet.

Now it is time to configure the incoming connection. Name your account Name whatever you want. Now, enter as the IMAP server imap.gmail.com. Your Username is your email account, in this case mine is sync.with.kontact@gmail.com. The Password is the password of your Gmail account.


Next, go to the Advanced tab, and ensure that it is connected on Port 993 with the SSL/TLS radio button left on. As for authentication, according to the KMail documentation, DIGEST-MD5 encryption is recommended, however for now Google’s IMAP server does not support any of this, so cleartext must be selected.

Click OK. Another KDE Wallet prompt should show up, and for convenience, you can select the Allow Always option.

To check your emails, find the Inbox of your newly setup account, in this case, Gmail Incoming, and press F5 to refresh and download new emails from the server.

Outgoing Mail Setup (SMTP Connection)

To setup an outgoing connection, similar steps must be taken to add the new connection, which is treated as a new account by KMail. Open up the KMail Configuration window, and go to the Accounts area in the left navigation bar. Instead of using the Receiving tab, which was used to setup the incoming (IMAP) connection switch to the Sending tab now.

Now, click on Add... and select the SMTP option and click OK. Afterwards, a Configure Account window will appear. The following details are needed by Kontact.

Outgoing mail server smtp.gmail.com (Check the Server requires authentication button)
Login Your Gmail account. Here. it's "sync.with.kontact@gmail.com"
Password Your Gmail password.

For convenience, check the Store SMTP password option. Now, go to the Advanced tab of the window and enter the following information.

Encryption SSL
Port: 465
Authentication PLAIN

After OKing the dialog, click the Set as Default button to make the newly added connection the default.

When sending your first email from Kontact, you will need to save the information in KDE Wallet once so it won’t have to be used later.

GIF Animation

Note
Click the image below to watch the GIF Animation which displays this process in sequence for convenience



Congratulations, now you can fully send and receive mail through Kontact!