From b63236bd841df2fd96073d342c71f5c8a5b55655 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Tue, 14 May 2002 16:03:40 +0000 Subject: - Do not include the Cc: for the first Cc'd recipient (spotted by Richard). --- win32/sendmail.c | 1 + 1 file changed, 1 insertion(+) (limited to 'win32/sendmail.c') 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)); -- cgit v1.2.1