]> granicus.if.org Git - php/commitdiff
- Do not include the Cc: for the first Cc'd recipient (spotted by Richard).
authorMarkus Fischer <mfischer@php.net>
Tue, 14 May 2002 16:03:40 +0000 (16:03 +0000)
committerMarkus Fischer <mfischer@php.net>
Tue, 14 May 2002 16:03:40 +0000 (16:03 +0000)
win32/sendmail.c

index f6bcb715a4df114f699211b220f76b7402230fff..38bb9131d42547090156633b599c3f2e044c8c94 100644 (file)
@@ -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));