Allow explicit specification of email protocol (plain/STARTTLS/SSL).
[dcpomatic.git] / src / lib / send_problem_report_job.cc
index aac2b6e66645cfb8ef5e0520a346adc882b6e7fe..11f700de077490751550913257e8991df05f4d8a 100644 (file)
@@ -101,7 +101,7 @@ SendProblemReportJob::run ()
        to.push_back ("carl@dcpomatic.com");
 
        Emailer emailer (_from, to, "DCP-o-matic problem report", body);
-       emailer.send ("main.carlh.net", 2525);
+       emailer.send ("main.carlh.net", 2525, EMAIL_PROTOCOL_STARTTLS);
 
        set_progress (1);
        set_state (FINISHED_OK);