]> granicus.if.org Git - php/commitdiff
Revert, this caused more trouble than it fixed.
authorSara Golemon <pollita@php.net>
Wed, 7 May 2003 20:33:53 +0000 (20:33 +0000)
committerSara Golemon <pollita@php.net>
Wed, 7 May 2003 20:33:53 +0000 (20:33 +0000)
ext/standard/mail.c

index 6463aedf3941a46ecc2407d41e6c20cc5736812b..6b4f701734eea8d395804e7a483e9ecf89a29c91 100644 (file)
@@ -215,10 +215,10 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
                        return 0;
                }
 #endif
-               fprintf(sendmail, "To: %s\r\n", to);
-               fprintf(sendmail, "Subject: %s\r\n", subject);
+               fprintf(sendmail, "To: %s\n", to);
+               fprintf(sendmail, "Subject: %s\n", subject);
                if (headers != NULL) {
-                       fprintf(sendmail, "%s\r\n", headers);
+                       fprintf(sendmail, "%s\n", headers);
                }
                fprintf(sendmail, "\n%s\n", message);
                ret = pclose(sendmail);