From ff42e1cda3061e261d7f5ff43e576262fbdd897c Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 10 Mar 2000 00:21:30 +0000 Subject: [PATCH] fixed bug in sending messages. It wasn't putting a blank line between the header and the body. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@296 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/smtp.php b/functions/smtp.php index 7beb63ce..e12b9914 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -144,6 +144,7 @@ fputs($fp, "Content-Type: text/plain; charset=ISO-8859-1\n"); fputs($fp, "Content-Transfer-Encoding: 8bit\n"); } + fputs ($fp, "\n"); } // Send the body @@ -157,6 +158,7 @@ fputs ($fp, "\n--".mimeBoundary()."--\n"); } else { fputs ($fp, stripslashes($body) . "\n"); + fputs ($fp, "\n"); } } -- 2.25.1