1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 01:13:12 +02:00

Insert a new line between the subject and message body when sending mail.

Required for RFC 2822 compliancy.

Reported by jrmu via IRC.
This commit is contained in:
Robby
2019-08-24 07:37:35 +02:00
parent 8f7f4b1593
commit d9de4ddd82
+1
View File
@@ -41,6 +41,7 @@ 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, "\n");
fprintf(pipe, "%s", message.c_str());
fprintf(pipe, "\n.\n");