Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24205/src/gui
Modified Files:
wxMApp.cpp
Log Message:
put more information in debug report message headers
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.297
retrieving revision 1.298
diff -b -u -2 -r1.297 -r1.298
--- wxMApp.cpp 9 Apr 2005 16:23:22 -0000 1.297
+++ wxMApp.cpp 15 May 2005 20:04:59 -0000 1.298
@@ -518,5 +518,6 @@
// create a mail message and send it
SendMessage_obj sm(SendMessage::Create(profile, Prot_SMTP));
- sm->SetSubject(_T("Mahogany crash report"));
+ sm->SetSubject(wxString::Format(_T("Mahogany %s crash report"),
+ M_VERSION));
sm->SetAddresses(_T("[EMAIL PROTECTED]"));
@@ -525,6 +526,17 @@
return false;
+ MimeParameterList paramsDisp;
+ paramsDisp.push_back(new MimeParameter
+ (
+ _T("FILENAME"),
+ wxString::Format
+ (
+ _T("M-%s-debugrpt.zip"),
+ M_VERSION
+ )
+ ));
sm->AddPart(MimeType::APPLICATION, buf, len,
- _T("OCTET-STREAM"), _T("ATTACHMENT"));
+ _T("OCTET-STREAM"), _T("ATTACHMENT"),
+ ¶msDisp);
if ( sm->SendOrQueue(SendMessage::NeverQueue | SendMessage::Silent) )
{
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates