From: Sara Golemon Date: Wed, 7 May 2003 20:33:53 +0000 (+0000) Subject: Revert, this caused more trouble than it fixed. X-Git-Tag: RELEASE_0_9b~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13191aa8412f1a0f99f5b675b2e112f7a3fc5957;p=php Revert, this caused more trouble than it fixed. --- diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 6463aedf39..6b4f701734 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -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);