Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv20231/src/mail

Modified Files:
        MailFolder.cpp MailFolderCC.cpp 
Log Message:
added a few useful command line options


Index: MailFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolder.cpp,v
retrieving revision 1.275
retrieving revision 1.276
diff -b -u -2 -r1.275 -r1.276
--- MailFolder.cpp      28 Mar 2002 23:40:46 -0000      1.275
+++ MailFolder.cpp      29 Mar 2002 20:42:22 -0000      1.276
@@ -1270,4 +1270,9 @@
       else // remember that we're initialized now
       {
+#ifdef USE_DIALUP
+         // must be done before using the network
+         SetupOnlineManager();
+#endif // USE_DIALUP
+
          s_initialized = true;
       }

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.600
retrieving revision 1.601
diff -b -u -2 -r1.600 -r1.601
--- MailFolderCC.cpp    19 Mar 2002 18:06:55 -0000      1.600
+++ MailFolderCC.cpp    29 Mar 2002 20:42:22 -0000      1.601
@@ -4966,4 +4966,11 @@
       (void *) myusername();
 
+#ifdef OS_WIN
+   // cclient extra initialization under Windows: use the home directory of the
+   // user (the programs directory by default) as HOME
+   wxString home;
+   mail_parameters(NULL, SET_HOMEDIR, (void *)wxGetHomeDir(&home));
+#endif // OS_WIN
+
    // 1 try is enough, the default (3) is too slow: notice that this only sets
    // the number of trials for SMTP and not for the mailbox drivers for which


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to