pollita         Tue Apr  1 01:21:54 2003 EDT

  Modified files:              
    /php4/ext/standard  mail.c 
  Log:
  Bug #22962
  
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.70 php4/ext/standard/mail.c:1.71
--- php4/ext/standard/mail.c:1.70       Wed Feb 26 15:04:15 2003
+++ php4/ext/standard/mail.c    Tue Apr  1 01:21:54 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mail.c,v 1.70 2003/02/26 20:04:15 derick Exp $ */
+/* $Id: mail.c,v 1.71 2003/04/01 06:21:54 pollita Exp $ */
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -215,10 +215,10 @@
                        return 0;
                }
 #endif
-               fprintf(sendmail, "To: %s\n", to);
-               fprintf(sendmail, "Subject: %s\n", subject);
+               fprintf(sendmail, "To: %s\r\n", to);
+               fprintf(sendmail, "Subject: %s\r\n", subject);
                if (headers != NULL) {
-                       fprintf(sendmail, "%s\n", headers);
+                       fprintf(sendmail, "%s\r\n", headers);
                }
                fprintf(sendmail, "\n%s\n", message);
                ret = pclose(sendmail);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to