Bug 3501

Summary: "Empty all Trash folders" should probably respect the "get mail enabled" flag for an account
Product: Claws Mail (GTK 2) Reporter: Martin Schwenke <martin>
Component: OtherAssignee: users
Status: NEW ---    
Severity: enhancement    
Priority: P3    
Version: 3.11.1   
Hardware: PC   
OS: Linux   

Description Martin Schwenke 2015-08-20 07:52:44 UTC
When away from home I can't access my "home" email account.  So I go to "Edit accounts" and switch of the "get mail" ('G') flag for it.

"Get from all accounts" now obviously ignores the "home" account.

However, when I "Empty all Trash folders" and I have inadvertently left Claws Mail in a state where it believes there is a message in the trash for the "home" account, I get an error saying I can't connect to the server.  I'm a compulsive trash emptier so this gets quite distracting.  :-(

Can you please consider treating the "get mail" ('G') flag as a more general account enable/disable flag and use it to stop "Empty all Trash folders" from trying to empty the trash in a "disabled" account?  Given that there is no way to temporarily disable an account, using the "get mail" flag is as good as it gets.

I know that I can empty the trash for individual accounts... but I always just reach for 'D'.  :-)