Bug 305476

Summary: KMail can hardly get mails from Gmail through IMAP
Product: [Applications] kmail2 Reporter: Ukyoi <ukyoi>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: major    
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The problem about setting up IMAP account of GMail

Description Ukyoi 2012-08-20 05:27:51 UTC
Thanks for your attention.

I really admire the integration of servers under Kontact so I recently installed KMail. The problem is that when I set up the IMAP account under the instruction of Gmail (and some articles related to KMail), the folders on my account is shown in KMail but can hardly get my mails. With a lot of attemps to set up the account, sometimes there are few mails can be received (less than 60) while there should be more than 1000 mails in my Gmail account.

Here is my settings for the IMAP account:
Account name: Ukyoi's Gmail
IMAP server: imap.gmail.com
User name: ukyoid@gmail.com
Password: (My Google account password)
Encryption: SSL/TLS
authentication method: Clear text

Is it caused by wrong setting or it's a bug? Would it be possible to solve the problem?

Reproducible: Always

Steps to Reproduce:
1. Setting up the IMAP account under the instruction of Gmail
2. Getting mail.
Actual Results:  
Few or even no mails can be seen in KMail.

Expected Results:  
All mails can be received.
Comment 1 Ukyoi 2012-08-20 05:38:21 UTC
Created attachment 73317 [details]
The problem about setting up IMAP account of GMail
Comment 2 Ukyoi 2012-08-29 10:52:02 UTC
Seems it was caused by my Internet environment because it's OK when I was in my school. But the strange thing is thunderbird works fine everywhere.