+
+ body += "\n";
+
+ if (_film) {
+ body += "log head and tail:\n";
+ body += "---<8----\n";
+ body += _film->log()->head_and_tail (4096);
+ body += "---<8----\n\n";
+
+ add_file (body, "ffprobe.log");
+
+ body += "---<8----\n";
+ body += _film->metadata()->write_to_string_formatted("UTF-8");
+ body += "---<8----\n";
+ }
+
+ list<string> to;
+ to.push_back ("carl@dcpomatic.com");
+
+ Emailer emailer (_from, to, "DCP-o-matic problem report", body);
+ emailer.send ("main.carlh.net", 2525);