summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-09 00:11:38 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-09 00:11:38 +0100
commit80313b07095814f0178be70bc0651c1e052decea (patch)
tree5ea002e29340ee342344affce277aa0cd941d7db /src/tools
parent82f87c7711fb664b06b04d44792ed3820b3d1e01 (diff)
parent04b5957318df591f56e0a5d39720df143dc8230d (diff)
Merge branch 'main' into v2.17.x
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index f65037c2f..d516c6f5b 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -72,7 +72,7 @@
#include "lib/dcpomatic_log.h"
#include "lib/dcpomatic_socket.h"
#include "lib/dkdm_wrapper.h"
-#include "lib/emailer.h"
+#include "lib/email.h"
#include "lib/encode_server_finder.h"
#include "lib/exceptions.h"
#include "lib/ffmpeg_encoder.h"
@@ -1146,9 +1146,9 @@ private:
error_dialog (this, _("You must enter a valid email address when sending translations, "
"otherwise the DCP-o-matic maintainers cannot credit you or contact you with questions."));
} else {
- Emailer emailer(dialog.email(), { "carl@dcpomatic.com" }, "DCP-o-matic translations", body);
+ Email email(dialog.email(), { "carl@dcpomatic.com" }, "DCP-o-matic translations", body);
try {
- emailer.send ("main.carlh.net", 2525, EmailProtocol::STARTTLS);
+ email.send("main.carlh.net", 2525, EmailProtocol::STARTTLS);
} catch (NetworkError& e) {
error_dialog (this, _("Could not send translations"), std_to_wx(e.what()));
}