Lines Matching refs:headers_lc
219 char *headers_lc = NULL; /* headers_lc is only created if we've a header at all */ in TSendMail() local
248 if (NULL == (headers_lc = estrdup(headers))) { in TSendMail()
253 for (i = 0; i < strlen(headers_lc); i++) { in TSendMail()
254 headers_lc[i] = tolower(headers_lc[i]); in TSendMail()
263 } else if ( headers_lc && in TSendMail()
264 (pos1 = strstr(headers_lc, "from:")) && in TSendMail()
265 ((pos1 == headers_lc) || (*(pos1-1) == '\n')) in TSendMail()
270 pos1 = headers + (pos1 - headers_lc) + 5; in TSendMail()
279 efree(headers_lc); in TSendMail()
293 efree(headers_lc); in TSendMail()
305 …ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc, error_message T… in TSendMail()
312 efree(headers_lc); in TSendMail()
383 char *headers, char *headers_lc, char **error_message TSRMLS_DC) in SendText() argument
477 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
481 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
532 if (pos1 = strstr(headers_lc, "bcc:")) { in SendText()
536 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
692 char *headers_lc = NULL; in PostHeader() local
696 if (NULL == (headers_lc = estrdup(xheaders))) { in PostHeader()
699 for (i = 0; i < strlen(headers_lc); i++) { in PostHeader()
700 headers_lc[i] = tolower(headers_lc[i]); in PostHeader()
706 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader()
714 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader()
724 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()
735 if (headers_lc) { in PostHeader()
736 efree(headers_lc); in PostHeader()
751 if (headers_lc) { in PostHeader()
752 efree(headers_lc); in PostHeader()