diff options
author | Robby <robby@chatbelgie.be> | 2019-08-24 07:37:35 +0200 |
---|---|---|
committer | Robby <robby@chatbelgie.be> | 2019-08-24 07:37:35 +0200 |
commit | d9de4ddd8295a4917b0b0b8260fc647b55ced683 (patch) | |
tree | 8e562794a2ae8da71477921964432bc48edac00d | |
parent | 8f7f4b1593c8fde6144cfd785d589d0c8ef325e8 (diff) |
Insert a new line between the subject and message body when sending mail.
Required for RFC 2822 compliancy.
Reported by jrmu via IRC.
-rw-r--r-- | src/mail.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mail.cpp b/src/mail.cpp index 1ea24a8a8..b859e7c6f 100644 --- a/src/mail.cpp +++ b/src/mail.cpp @@ -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"); |