summaryrefslogtreecommitdiff
path: root/src/mail.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-12 22:05:59 +0000
committerSadie Powell <sadie@witchery.services>2022-01-12 22:08:35 +0000
commita631028660d527f509c3b028cfa5f2903a125077 (patch)
tree830ba6644bb312af32847db654bfb842ed44a7cd /src/mail.cpp
parent4e5fc9797c2ea285e855f808dc65694d1cdba358 (diff)
parent04257b9d6ab0fa1a63ade1d2ad0edc2d08eb74ce (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'src/mail.cpp')
-rw-r--r--src/mail.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mail.cpp b/src/mail.cpp
index 2f765dac4..c5e465666 100644
--- a/src/mail.cpp
+++ b/src/mail.cpp
@@ -1,6 +1,6 @@
/*
*
- * (C) 2003-2021 Anope Team
+ * (C) 2003-2022 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -41,6 +41,8 @@ void Mail::Message::Run()
else
fprintf(pipe, "To: \"%s\" <%s>\n", mail_to.c_str(), addr.c_str());
fprintf(pipe, "Subject: %s\n", subject.c_str());
+ fprintf(pipe, "Content-Type: text/plain; charset=UTF-8;\n");
+ fprintf(pipe, "Content-Transfer-Encoding: 8bit\n");
fprintf(pipe, "\n");
fprintf(pipe, "%s", message.c_str());
fprintf(pipe, "\n.\n");