summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));