Working with GMail: Difference between revisions

From KDE Wiki Sandbox
(formatting tweek)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Construction}}
<languages />
{{Warning|1=These instructions are only valid for the latest release of kdepim and Korganizer, version 4.3.7. There are significant differences in the older versions, therefore, some instructions may not apply.}}
<translate>
<!--T:1-->
{{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.}}


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


== Introduction == <!--T:3-->


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


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) == <!--T:5-->
For the purposes of this tutorial, my email will be ''sync.with.kontact@gmail.com''.
 
== Incoming Mail Forwarding (IMAP Connection) ==


<!--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.
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:
This brings you to the '''KMail''' part of '''Kontact'''. To set up the forwarding options, go to:
<menuchoice>Settings -> Configure KMail</menuchoice>.
<menuchoice>Settings -> Configure KMail</menuchoice>.


<!--T:7-->
The first step is to create a basic identify, this is to separate multiple accounts in the future, if you have them.  
The first step is to create a basic identify, this is to separate multiple accounts in the future, if you have them.  


<!--T:8-->
{|class="tablecenter vertical-centered"  
{|class="tablecenter vertical-centered"  
|[[Image:Add_new_kmail_identity.png|200px]]  
|[[Image:Add_new_kmail_identity.png|250px|thumb]]  
|Setting up a new Kmail identity.
|Setting up a new Kmail identity.
|[[Image:KontacT_integration_kmail_identity_settings_edit.png|200px]]  
|[[Image:KontacT_integration_kmail_identity_settings_edit.png|250px|thumb]]  
|Configuring the new identity.
|Configuring the new identity.
|}
|}




<!--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.
Next, go to the <menuchoice>Accounts</menuchoice> tab on the left navigation bar. Here you can configure the incoming and outgoing mail accounts.
<!--T:11-->
[[File:Accounts.png|250px|thumb|center|The Incoming/Outgoing Accounts Screen.]]




===Setting up Incoming Mail:===
===Setting up Incoming Mail:=== <!--T:12-->


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




<!--T:14-->
{|class="tablecenter vertical-centered"  
{|class="tablecenter vertical-centered"  
|[[Image:Add_imap_acc_edit.png|200px]]  
|[[Image:Add_imap_acc_edit.png|250px|thumb]]  
|Adding the new IMAP account.
|Adding the new IMAP account.
|[[Image:Wallet1.png|200px]]  
|[[Image:Wallet1.png|250px|thumb]]  
|Configuring KDE Wallet.
|Configuring KDE Wallet.
|}
|}


<!--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.
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.


Next, go to the <menuchoice>Advanced</menuchoice>tab, and ensure that it is connected on Port 993 with the <menuchoice>SSL/TLS radio</menuchoice> 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: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>.
Click <menuchoice>OK</menuchoice>.
Another '''KDE Wallet''' prompt should show up, and for convenience, ''you can select the <menuchoice>Allow Always</menuchoice> option.''
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.
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)==
== Outgoing Mail Setup (SMTP Connection)== <!--T:21-->


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 Tab</menuchoice>, which was used to setup the incoming (IMAP) connection switch to the <menuchoice>Sending</menuchoice> tab now.
<!--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.
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'''.
The following details are needed by '''Kontact'''.


'''Outgoing mail server:''' <code> smtp.gmail.com</code> (Check the <menuchoice>Server requires authentication</menuchoice> button) <br />
<!--T:24-->
'''Login:''' <code>''Your Gmail account.''</code> Here. it's "sync.with.kontact@gmail.com"  <br />
<menuchoice>Outgoing mail server</menuchoice> <code> smtp.gmail.com</code> (Check the <menuchoice>Server requires authentication</menuchoice> button) <br />
'''Password:''' <code>''Your Gmail password.'' </code> <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.
For convenience, check the <menuchoice>Store SMTP password</menuchoice> option.
Now, go to the <menuchoice>Advanced Tab</menuchoice> of the window and enter the following information.
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 />


'''Encryption:''' <code>SSL</code><br />
<!--T:33-->
'''Port:''' <code>465</code><br />
After OKing the dialog, click the <menuchoice>Set as Default</menuchoice> button to make the newly added connection the default.
'''Authentication:''' <code>PLAIN</code><br />


<!--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.
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'''!
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:Office]]
[[Category:Internet]]
[[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!