summaryrefslogtreecommitdiff
path: root/src/lib/emailer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-21 23:14:56 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-21 23:14:56 +0100
commitceb0456d3dd141ec9ac4ddb99f42b0df390d1c6e (patch)
tree6096148cea47cab4992eca48aa3afce6d6e1da84 /src/lib/emailer.h
parent92984df6ab50ba4ec90d105e44b58efa863c4b59 (diff)
Line-break base64 attachments with \r\n rather than just \n
to stop "line too long" errors with some email servers.
Diffstat (limited to 'src/lib/emailer.h')
-rw-r--r--src/lib/emailer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/emailer.h b/src/lib/emailer.h
index 7a614019e..0309b134d 100644
--- a/src/lib/emailer.h
+++ b/src/lib/emailer.h
@@ -48,6 +48,8 @@ public:
private:
+ std::string fix (std::string s) const;
+
std::string _from;
std::list<std::string> _to;
std::string _subject;