summaryrefslogtreecommitdiff
path: root/src/lib/send_problem_report_job.cc
diff options
context:
space:
mode:
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);