summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Mailx.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-05-20 11:18:34 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-05-20 11:18:34 +0200
commit40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b (patch)
treee82b6f14b4d8073cd0e52253747beaaa7e509439 /lib/Plugins/Mailx.cpp
parent407222babd840bcc935789dc441f6099f9d22412 (diff)
parentbc12d93a46c87ccf647f83b4eafd4378d19b9e29 (diff)
downloadabrt-40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b.tar.gz
abrt-40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b.tar.xz
abrt-40d3a846c8fb7dcbc03cf2dfcd911baf0b64987b.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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)
{