diff options
author | Sara Golemon <pollita@php.net> | 2003-04-01 06:21:54 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-04-01 06:21:54 +0000 |
commit | 48c947389e851738cbfeff2da24c457cb77413f2 (patch) | |
tree | 2e167865f8f42d42d285faeeb1084cc33c17c5e8 | |
parent | b8e3e0bfe3adbaefc2b6ca61865e0bfba6d0fc02 (diff) | |
download | php-git-48c947389e851738cbfeff2da24c457cb77413f2.tar.gz |
Bug #22962
-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 6b4f701734..6463aedf39 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\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); |