Bug 215022 - Kmail gives unkown host error when started automatically at login
Summary: Kmail gives unkown host error when started automatically at login
Status: RESOLVED DUPLICATE of bug 172130
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 21:24 UTC by Adam
Modified: 2009-12-12 00:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2009-11-17 21:24:10 UTC
Version:            (using KDE 4.3.1)
Installed from:    openSUSE RPMs

I have two email accounts hosted by gmail and have KMail set to be always shown in the system tray. KMail is also set to check email when started. Whenever I login KDE loads my previous session, so KMail is opened. Every time I login KMail gives two error dialogs. Both have the title "Error - KMail", and say "Unknown host pop.gmail.com". If I close the dialogs and open KMail I can check my email without any problem. Closing KMail and opening it again works fine too.
Comment 1 Torgny Nyblom 2009-11-18 13:12:14 UTC
Are you using NetworkManager?
If so is the connection opened when KMail tries to check mail?
Comment 2 Adam 2009-11-18 22:49:51 UTC
Yes I've just installed openSUSE 11.2 from the KDE live CD. How would I check that the connection is opened? That sounds like the most likely reason for this problem. For now I've just disabled the check email on startup option, but I guess I could set KDE to load a fresh session and use a script to wait a small amount of time then load KMail.

I feel that this is something a lot of people might come across though, so could KMail wait for a network connection to be opened before checking for email, or if an error occurs, wait a small amount of time and try to connect again?
Comment 3 Björn Ruberg 2009-12-12 00:55:56 UTC
You are right. This has already been wished. See duplicate.

*** This bug has been marked as a duplicate of bug 172130 ***