Bug 415802

Summary: Don't try to retrieve mails if there is not internet connectivity
Product: [Applications] kmail2 Reporter: sedrubal <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.11.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Error message box

Description sedrubal 2020-01-02 13:41:02 UTC
Created attachment 124854 [details]
Error message box

SUMMARY
Sometimes right after starting KDE when there is not yet an internet connection, kmail shows many error messages (one per IMAP account), that it can't connect to IMAP servers.

STEPS TO REPRODUCE
1. Configure kmail / kontact as autostart app
2. Start KDE plasma

OBSERVED RESULT
The attached message box pops up and a bit later the internet connectivity is established.

EXPECTED RESULT
kontact / kmail should wait until there is a internet connectivity

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 31
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.5