X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsend_problem_report_job.cc;h=ed78112e9ea5765eea15b84c768eeb6686d3c49d;hb=b87e2660d0776f3d1380532ff0d2f3a28ed9d764;hp=34822b1561d7ade97c41d8dd236a4c383c9888fc;hpb=c103d8c1306e5fb3937b3a6c430a3fff32653fa3;p=dcpomatic.git diff --git a/src/lib/send_problem_report_job.cc b/src/lib/send_problem_report_job.cc index 34822b156..ed78112e9 100644 --- a/src/lib/send_problem_report_job.cc +++ b/src/lib/send_problem_report_job.cc @@ -19,15 +19,16 @@ */ -#include "send_problem_report_job.h" #include "compose.hpp" -#include "film.h" #include "cross.h" +#include "email.h" +#include "environment_info.h" +#include "film.h" #include "film.h" #include "log.h" +#include "send_problem_report_job.h" +#include "variant.h" #include "version.h" -#include "emailer.h" -#include "environment_info.h" #include #include "i18n.h" @@ -108,8 +109,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"}, variant::insert_dcpomatic("%1 problem report"), body); + email.send("main.carlh.net", 2525, EmailProtocol::STARTTLS); set_progress (1); set_state (FINISHED_OK);