فهرست منبع

fixed bug in sending messages. It wasn't putting a blank line between the
header and the body.

Luke Ehresman 25 سال پیش
والد
کامیت
e0675f325a
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      functions/smtp.php

+ 2 - 0
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");
      }
    }