#include "log.h"
#include "version.h"
#include "emailer.h"
+#include "environment_info.h"
+#include <boost/foreach.hpp>
#include "i18n.h"
body += "Version: " + string (dcpomatic_version) + " " + string (dcpomatic_git_commit) + "\n\n";
+ BOOST_FOREACH (string i, environment_info ()) {
+ body += i + "\n";
+ }
+
+ body += "\n";
+
if (_film) {
body += "log head and tail:\n";
body += "---<8----\n";
to.push_back ("carl@dcpomatic.com");
Emailer emailer (_from, to, "DCP-o-matic problem report", body);
- emailer.send ();
+ emailer.send ("main.carlh.net", 2525);
set_progress (1);
+ set_state (FINISHED_OK);
}
void