Bläddra i källkod

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

Luke Ehresman 25 år sedan
förälder
incheckning
e0675f325a
1 ändrade filer med 2 tillägg och 0 borttagningar
  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");
      }
    }