+ boost::algorithm::replace_all (body, "$CPL_NAME", film->dcp_name ());
+ boost::algorithm::replace_all (body, "$START_TIME", start.str ());
+ boost::algorithm::replace_all (body, "$END_TIME", end.str ());
+ boost::algorithm::replace_all (body, "$CINEMA_NAME", i->cinema->name);
+
+ SafeStringStream screens;
+ for (list<ScreenKDM>::const_iterator j = i->screen_kdms.begin(); j != i->screen_kdms.end(); ++j) {
+ screens << j->screen->name << ", ";
+ }
+ boost::algorithm::replace_all (body, "$SCREENS", screens.str().substr (0, screens.str().length() - 2));
+