summaryrefslogtreecommitdiff
path: root/src/lib/send_problem_report_job.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/send_problem_report_job.cc
parent08eb6cc9958c200ae90d376cb521bde930144c09 (diff)
Rename Emailer -> Email.
Diffstat (limited to 'src/lib/send_problem_report_job.cc')
-rw-r--r--src/lib/send_problem_report_job.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/send_problem_report_job.cc b/src/lib/send_problem_report_job.cc
index 34822b156..9569aca3b 100644
--- a/src/lib/send_problem_report_job.cc
+++ b/src/lib/send_problem_report_job.cc
@@ -26,7 +26,7 @@
#include "film.h"
#include "log.h"
#include "version.h"
-#include "emailer.h"
+#include "email.h"
#include "environment_info.h"
#include <libxml++/libxml++.h>
@@ -108,8 +108,8 @@ SendProblemReportJob::run ()
body += "---<8----\n";
}
- Emailer emailer (_from, {"carl@dcpomatic.com"}, "DCP-o-matic problem report", body);
- emailer.send ("main.carlh.net", 2525, EmailProtocol::STARTTLS);
+ Email email(_from, {"carl@dcpomatic.com"}, "DCP-o-matic problem report", body);
+ email.send("main.carlh.net", 2525, EmailProtocol::STARTTLS);
set_progress (1);
set_state (FINISHED_OK);