summaryrefslogtreecommitdiff
path: root/win32/sendmail.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-05-14 16:03:40 +0000
committerMarkus Fischer <mfischer@php.net>2002-05-14 16:03:40 +0000
commitb63236bd841df2fd96073d342c71f5c8a5b55655 (patch)
tree22c8ba660ad82f0fad4cc02aa7a798837eb8a84a /win32/sendmail.c
parente3974c36ba984f6ba67a42230927bcd480b9245e (diff)
downloadphp-git-b63236bd841df2fd96073d342c71f5c8a5b55655.tar.gz
- Do not include the Cc: for the first Cc'd recipient (spotted by Richard).
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r--win32/sendmail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index f6bcb715a4..38bb9131d4 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -288,6 +288,7 @@ int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers
/* Send mail to all Cc rcpt's */
efree(tempMailTo);
if (headers && (pos1 = strstr(headers, "Cc:"))) {
+ pos1 += 3; /* Jump over Cc: */
if (NULL == (pos2 = strstr(pos1, "\r\n"))) {
tempMailTo = estrndup(pos1, strlen(pos1));