[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321102: patch



On Friday 19 January 2007, Bastian Venthur wrote:
> please consider the following patch. It disables DIMAP by simply
> removing the DIMAP option when creating a new account, making it
> impossible to create a new DIMAP account. Regular IMAP is still
> perfectly possible.

As dimap works when you know its limitations, the attached patch is the way we 
are about to go.

(when creating a account, a warning is shown)

/Sune



-- 
How to forward to the floppy disk?

You must boot from the laser e-mail of the file to debug a server.
Index: kdepim/kmail/configuredialog.cpp
===================================================================
--- kdepim/kmail/configuredialog.cpp	(revision 623910)
+++ kdepim/kmail/configuredialog.cpp	(working copy)
@@ -1200,6 +1200,16 @@
       return;
   }
 
+  if ( accountType == "cachedimap" )
+  {
+	KMessageBox::information(this, " WARNING:\n\n It is possible to lose your e-mail with a Disconnected IMAP account if you do not use it correctly.  The purposes of Disconnected IMAP are to minimize bandwidth usage, to allow the user to decide when the client communicates with the server, and to keep a local copy of all e-mails.\n\n When using Disconnected IMAP, all changes (such as writing new e-mails, deleting e-mails, and moving e-mails between folders or accounts) are only made on the client until the user synchronizes the client with the server by using the Check Mail command when there is a network connection available.\n\n These are the commands that affect client-server syncronization:\n F5 synchronizes the current folder.\n Ctrl+L (Check Mail) synchronizes all folders in all accounts.\n Refresh Local IMAP Cache discards all local changes in the current folder.\n\n If you make changes that affect more than one folder or account, you should usually use Ctrl+L to make sure all of your changes are committed to the mail server.  ",
+	NULL, "dimap-warning", 0
+
+
+	);
+
+  }
+
   KMAccount *account
     = kmkernel->acctMgr()->create( QString::fromLatin1( accountType ) );
   if ( !account ) {

Attachment: pgp8UhgSWaBCD.pgp
Description: PGP signature


Reply to: