string subject = Config::instance()->kdm_subject();
boost::algorithm::replace_all (subject, "$CPL_NAME", film->dcp_name ());
boost::algorithm::replace_all (subject, "$START_TIME", start.str ());
boost::algorithm::replace_all (subject, "$END_TIME", end.str ());
boost::algorithm::replace_all (subject, "$CINEMA_NAME", i->cinema->name);
quickmail mail = quickmail_create (Config::instance()->kdm_from().c_str(), subject.c_str ());
string subject = Config::instance()->kdm_subject();
boost::algorithm::replace_all (subject, "$CPL_NAME", film->dcp_name ());
boost::algorithm::replace_all (subject, "$START_TIME", start.str ());
boost::algorithm::replace_all (subject, "$END_TIME", end.str ());
boost::algorithm::replace_all (subject, "$CINEMA_NAME", i->cinema->name);
quickmail mail = quickmail_create (Config::instance()->kdm_from().c_str(), subject.c_str ());