Allow multiple recipients of KDM emails (#745).
[dcpomatic.git] / src / lib / cinema_kdms.cc
index eb71b3202747ce862ca0977993749a7aed24df54..15aaaa731316b6c8ee0eeda6d0ce09ca6ab8c3f6 100644 (file)
@@ -152,7 +152,7 @@ CinemaKDMs::email (
                }
                boost::algorithm::replace_all (body, "$SCREENS", screens.str().substr (0, screens.str().length() - 2));
 
-               Emailer email (config->kdm_from(), i.cinema->email, subject, body);
+               Emailer email (config->kdm_from(), i.cinema->emails, subject, body);
 
                if (!config->kdm_cc().empty ()) {
                        email.add_cc (config->kdm_cc ());