Rename Emailer -> Email.
[dcpomatic.git] / src / lib / send_notification_email_job.cc
index f40e8fefa023e5099ebbe8ff2e92425436880778..a2f3016f9757e266facd55ec972f19c134e3b1c4 100644 (file)
@@ -22,7 +22,7 @@
 #include "send_notification_email_job.h"
 #include "exceptions.h"
 #include "config.h"
-#include "emailer.h"
+#include "email.h"
 #include "compose.hpp"
 
 #include "i18n.h"
@@ -71,7 +71,7 @@ SendNotificationEmailJob::run ()
        }
 
        set_progress_unknown ();
-       Emailer email (config->notification_from(), { config->notification_to() }, config->notification_subject(), _body);
+       Email email(config->notification_from(), { config->notification_to() }, config->notification_subject(), _body);
        for (auto i: config->notification_cc()) {
                email.add_cc (i);
        }