From e075012124424b77044b5d61885ed2646d3781cd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 28 Mar 2019 23:10:56 +0000 Subject: Allow explicit specification of email protocol (plain/STARTTLS/SSL). --- src/lib/emailer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/emailer.h') diff --git a/src/lib/emailer.h b/src/lib/emailer.h index 0309b134d..4ceedb9be 100644 --- a/src/lib/emailer.h +++ b/src/lib/emailer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -30,7 +30,7 @@ public: void add_bcc (std::string bcc); void add_attachment (boost::filesystem::path file, std::string name, std::string mime_type); - void send (std::string server, int port, std::string user = "", std::string password = ""); + void send (std::string server, int port, EmailProtocol protocol, std::string user = "", std::string password = ""); std::string notes () const { return _notes; -- cgit v1.2.3