Bug 317072 - kmail not checking mail on startup
Summary: kmail not checking mail on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 11:54 UTC by James
Modified: 2016-09-26 17:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James 2013-03-20 11:54:01 UTC
kmail will not check mail on startup even with the option enabled

Reproducible: Always

Steps to Reproduce:
1. Open kmail, enable the option to "check mail on startup".
2. Close Kmail, as well as from system tray (if enabled on system tray)
3. Open Kmail.
Actual Results:  
Kmail does not check mail on startup.

Expected Results:  
Kmail should be checking mail on startup.
Comment 1 Laurent Montel 2013-03-21 07:16:54 UTC
Work fine here.
I tested now.
Need more infos.
Which account ?
etc.
Comment 2 James 2013-03-22 05:32:39 UTC
I have opensuse 12.3 installed with KDE version 4.10 and I am using a
gmail account. It does check every 5mins (with interval checking
enabled) and it does send and recevie email but will not check upon
startup, unless i use the kmail --check command-line option.

On 3/21/13, Laurent Montel <montel@kde.org> wrote:
> https://bugs.kde.org/show_bug.cgi?id=317072
>
> Laurent Montel <montel@kde.org> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |montel@kde.org
>
> --- Comment #1 from Laurent Montel <montel@kde.org> ---
> Work fine here.
> I tested now.
> Need more infos.
> Which account ?
> etc.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Laurent Montel 2013-03-22 06:21:46 UTC
how do you enabled it in kmail settings ?
could you create screenshot ?
Comment 4 Andy Goss 2013-03-22 09:06:37 UTC
KMail
Version 4.8.5
Using KDE Development Platform 4.8.5 (4.8.5)
Netrunner

Same problem, "check mail on startup" in retrieval options under Configure Accounts is checked, but mail is not checked on startup. This has been going on for some time now, can't say how long.

The solution for me seems to be that ALL accounts must be set to "check mail on startup". I have another account that was not set to check on startup, setting it allows check on startup.
Comment 5 Andy Goss 2013-03-23 01:54:38 UTC
(In reply to comment #4)
> KMail
> Version 4.8.5
> Using KDE Development Platform 4.8.5 (4.8.5)
> Netrunner
> 
> Same problem, "check mail on startup" in retrieval options under Configure
> Accounts is checked, but mail is not checked on startup. This has been going
> on for some time now, can't say how long.
> 
> The solution for me seems to be that ALL accounts must be set to "check mail
> on startup". I have another account that was not set to check on startup,
> setting it allows check on startup.

Actually that worked fine on restarting Kmail, but I don't think it made any difference on boot this morning. I use a Wallet password, the fact that when I restarted only Kmail, Wallet had already been accessed, and when I rebooted it had not, may have a bearing on the matter.
Comment 6 James 2013-03-23 07:11:32 UTC
On Friday, March 22, 2013 09:06:37 AM you wrote:
> https://bugs.kde.org/show_bug.cgi?id=317072
> 
> Andy Goss <aegoss@internode.on.net> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |aegoss@internode.on.net
> 
> --- Comment #4 from Andy Goss <aegoss@internode.on.net> ---
> KMail
> Version 4.8.5
> Using KDE Development Platform 4.8.5 (4.8.5)
> Netrunner
> 
> Same problem, "check mail on startup" in retrieval options under Configure
> Accounts is checked, but mail is not checked on startup. This has been going
> on for some time now, can't say how long.
> 
> The solution for me seems to be that ALL accounts must be set to "check mail
> on startup". I have another account that was not set to check on startup,
> setting it allows check on startup.

I do have it enabled for all accounts (both Google Mail & Local Folders) but 
it still will not work. I don't understand why not.

James Sellars
Comment 7 James 2013-03-23 07:13:49 UTC
On Saturday, March 23, 2013 01:54:38 AM you wrote:
> https://bugs.kde.org/show_bug.cgi?id=317072
> 
> --- Comment #5 from Andy Goss <aegoss@internode.on.net> ---
> (In reply to comment #4)
> 
> > KMail
> > Version 4.8.5
> > Using KDE Development Platform 4.8.5 (4.8.5)
> > Netrunner
> > 
> > Same problem, "check mail on startup" in retrieval options under Configure
> > Accounts is checked, but mail is not checked on startup. This has been
> > going on for some time now, can't say how long.
> > 
> > The solution for me seems to be that ALL accounts must be set to "check
> > mail on startup". I have another account that was not set to check on
> > startup, setting it allows check on startup.
> 
> Actually that worked fine on restarting Kmail, but I don't think it made any
> difference on boot this morning. I use a Wallet password, the fact that
> when I restarted only Kmail, Wallet had already been accessed, and when I
> rebooted it had not, may have a bearing on the matter.

I have never used the kwallet system and it still worked in previous versions 
of KDE, so I don't see how kwallet could be the problem.

James Sellars
Comment 8 Andy Goss 2013-03-23 07:30:59 UTC
For me, there is a difference between Kmail being restarted within a session, and starting in a new session. If restarting within a session, mail is checked immediately. If starting in a new session, it is not.
Maybe this will help point to the problem.
Comment 9 nkent 2013-05-27 17:18:33 UTC
Same problem here, on 2 computers. KDE 4.10.x (all versions so far).
On kmail start there is some kwallet message flashing quickly (can't read it); subsequent restart of kmail seems to work.
My guess is kmail is not waiting for kwallet to open.
Comment 10 Denis Kurz 2016-09-24 17:54:19 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 11 James 2016-09-26 06:01:53 UTC
(In reply to Denis Kurz from comment #10)
> This bug has only been reported for versions before 4.14, which have been
> unsupported for at least two years now. Can anyone tell if this bug still
> present?
> 
> If noone confirms this bug for a Framework-based version of kmail2 (version
> 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in
> about three months.

Not sure about KDE5, but it does check on my box (at startup) now. So, it looks like it's been fixed now.
Comment 12 Denis Kurz 2016-09-26 17:34:49 UTC
James, thanks for reporting back.