Allow explicit specification of email protocol (plain/STARTTLS/SSL).
[dcpomatic.git] / src / tools / dcpomatic.cc
index dcf6d7f4909d0f826b369654935197e5170c4f88..1b46e2292298534a2613d0cdb1747de1b76bb58b 100644 (file)
@@ -1031,7 +1031,7 @@ private:
                        list<string> to;
                        to.push_back ("carl@dcpomatic.com");
                        Emailer emailer (d->email(), to, "DCP-o-matic translations", body);
-                       emailer.send ("main.carlh.net", 2525);
+                       emailer.send ("main.carlh.net", 2525, EMAIL_PROTOCOL_STARTTLS);
                }
 
                d->Destroy ();