summaryrefslogtreecommitdiff
path: root/src/lib/kdm_with_metadata.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-07 16:12:22 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-07 16:12:22 +0100
commitf610a8708f11d6052a995f31cd506bc93faafa1c (patch)
treed162a93c4e163b47b2a11039b4b99de0046e64b9 /src/lib/kdm_with_metadata.cc
parent08eb6cc9958c200ae90d376cb521bde930144c09 (diff)
Rename Emailer -> Email.
Diffstat (limited to 'src/lib/kdm_with_metadata.cc')
-rw-r--r--src/lib/kdm_with_metadata.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/kdm_with_metadata.cc b/src/lib/kdm_with_metadata.cc
index 10054f01e..e7d9aa31c 100644
--- a/src/lib/kdm_with_metadata.cc
+++ b/src/lib/kdm_with_metadata.cc
@@ -23,7 +23,7 @@
#include "config.h"
#include "cross.h"
#include "dcpomatic_log.h"
-#include "emailer.h"
+#include "email.h"
#include "kdm_with_metadata.h"
#include "screen.h"
#include "util.h"
@@ -253,7 +253,7 @@ send_emails (
continue;
}
- Emailer email (config->kdm_from(), { emails.front() }, subject, body);
+ Email email(config->kdm_from(), { emails.front() }, subject, body);
/* Use CC for the second and subsequent email addresses, so we seem less spammy (#2310) */
for (auto cc = std::next(emails.begin()); cc != emails.end(); ++cc) {
@@ -269,7 +269,7 @@ send_emails (
email.add_attachment (zip_file, container_name_format.get(first->name_values(), ".zip"), "application/zip");
- auto log_details = [](Emailer& email) {
+ auto log_details = [](Email& email) {
dcpomatic_log->log("Email content follows", LogEntry::TYPE_DEBUG_EMAIL);
dcpomatic_log->log(email.email(), LogEntry::TYPE_DEBUG_EMAIL);
dcpomatic_log->log("Email session follows", LogEntry::TYPE_DEBUG_EMAIL);