summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Mailx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
-rw-r--r--lib/Plugins/Mailx.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index 6e596f2..d4b44cf 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -98,7 +98,9 @@ void CMailx::Report(const map_crash_report_t& pCrashReport, const std::string& p
}
if (it->second[CD_TYPE] == CD_ATT)
{
- bigTextFiles << " -a " << it->second[CD_CONTENT];
+ bigTextFiles << it->first << std::endl;
+ bigTextFiles << "-----" << std::endl;
+ bigTextFiles << it->second[CD_CONTENT] << std::endl << std::endl;
}
if (it->second[CD_TYPE] == CD_BIN)
{
@@ -117,7 +119,9 @@ void CMailx::Report(const map_crash_report_t& pCrashReport, const std::string& p
emailBody << "Additional information" << std::endl;
emailBody << "=====" << std::endl << std::endl;
emailBody << additionalFiles.str() << std::endl;
- m_sAttachments = bigTextFiles.str();
+ emailBody << "Other information" << std::endl;
+ emailBody << "=====" << std::endl << std::endl;
+ emailBody << bigTextFiles << std::endl;
if (m_bSendBinaryData)
{