diff options
author | Sara Golemon <pollita@php.net> | 2003-05-07 20:33:53 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-05-07 20:33:53 +0000 |
commit | 13191aa8412f1a0f99f5b675b2e112f7a3fc5957 (patch) | |
tree | 37f8c300056cb3fd8558ebfdce95608444d5af7f /ext/standard/mail.c | |
parent | 891bd02e104c37adad9b95a7399d5eb8eece61a8 (diff) | |
download | php-git-13191aa8412f1a0f99f5b675b2e112f7a3fc5957.tar.gz |
Revert, this caused more trouble than it fixed.
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r-- | ext/standard/mail.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |