diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-28 23:10:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-28 23:10:56 +0000 |
| commit | e075012124424b77044b5d61885ed2646d3781cd (patch) | |
| tree | 2dcbb52ee8d7871c7764dcfda49f9afeea11d656 /src/lib/emailer.h | |
| parent | bfb4de070d078fb4b4ea7cd4dc931439058c7a85 (diff) | |
Allow explicit specification of email protocol (plain/STARTTLS/SSL).v2.13.138
Diffstat (limited to 'src/lib/emailer.h')
| -rw-r--r-- | src/lib/emailer.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <cth@carlh.net> + Copyright (C) 2015-2019 Carl Hetherington <cth@carlh.net> 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; |
