diff options
Diffstat (limited to 'libbutl/sendmail.ixx')
-rw-r--r-- | libbutl/sendmail.ixx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libbutl/sendmail.ixx b/libbutl/sendmail.ixx index 067153c..b88ee20 100644 --- a/libbutl/sendmail.ixx +++ b/libbutl/sendmail.ixx @@ -26,6 +26,27 @@ namespace butl { } + template <typename E> + inline sendmail:: + sendmail (E&& err, + const std::string& from, + const std::string& subj, + const recipients_type& to, + const recipients_type& cc) + : sendmail (err, from, subj, to, cc, recipients_type ()) + { + } + + template <typename E> + inline sendmail:: + sendmail (E&& err, + const std::string& from, + const std::string& subj, + const recipients_type& to) + : sendmail (err, from, subj, to, recipients_type ()) + { + } + template <typename C, typename E, typename... O> inline sendmail:: sendmail (const C& cmdc, @@ -65,4 +86,27 @@ namespace butl // headers (from, subj, to, cc, bcc); } + + template <typename C, typename E> + inline sendmail:: + sendmail (const C& cmdc, + E&& err, + const std::string& from, + const std::string& subj, + const recipients_type& to, + const recipients_type& cc) + : sendmail (cmdc, err, from, subj, to, cc, recipients_type ()) + { + } + + template <typename C, typename E> + inline sendmail:: + sendmail (const C& cmdc, + E&& err, + const std::string& from, + const std::string& subj, + const recipients_type& to) + : sendmail (cmdc, err, from, subj, to, recipients_type ()) + { + } } |