summaryrefslogtreecommitdiff
path: root/src/lib/emailer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-11 23:35:43 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-17 22:20:33 +0100
commitff474f597a40366d4232e1d5a43de824538f08c1 (patch)
tree5c142b1f92da15042dffab83a75a104c4761d43d /src/lib/emailer.h
parent07f3f6c956e01d30427c502c0af7c66c8441be5c (diff)
Encode UTF-8 subjects and attachment names properly (#2207).
Diffstat (limited to 'src/lib/emailer.h')
-rw-r--r--src/lib/emailer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/emailer.h b/src/lib/emailer.h
index fa278e535..ef41b0320 100644
--- a/src/lib/emailer.h
+++ b/src/lib/emailer.h
@@ -51,6 +51,7 @@ public:
private:
std::string fix (std::string s) const;
+ static std::string encode_rfc1342 (std::string subject);
std::string _from;
std::list<std::string> _to;