Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12667/src/gui

Modified Files:
        wxMApp.cpp 
Log Message:
change the extension of the debug report file to work around SF brain dead mail 
policy

Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.299
retrieving revision 1.300
diff -b -u -2 -r1.299 -r1.300
--- wxMApp.cpp  20 Jul 2005 13:07:44 -0000      1.299
+++ wxMApp.cpp  24 Sep 2005 16:25:44 -0000      1.300
@@ -526,4 +526,6 @@
             return false;
 
+         // notice that more and more mail servers (including the one at
+         // sf.net) block attachments with .zip extension, so use another one
          MimeParameterList paramsDisp;
          paramsDisp.push_back(new MimeParameter
@@ -532,10 +534,10 @@
                                     wxString::Format
                                     (
-                                       _T("M-%s-debugrpt.zip"),
+                                       _T("M-%s-debugrpt.mz"),
                                        M_VERSION
                                     )
                                   ));
          sm->AddPart(MimeType::APPLICATION, buf, len,
-                     _T("OCTET-STREAM"), _T("ATTACHMENT"),
+                     _T("X-ZIP-COMPRESSED"), _T("ATTACHMENT"),
                      &paramsDisp);
          if ( sm->SendOrQueue(SendMessage::NeverQueue | SendMessage::Silent) )



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to