Lines Matching refs:headers_lc

218 	char *headers_lc = NULL; /* headers_lc is only created if we've a header at all */  in TSendMail()  local
247 if (NULL == (headers_lc = estrdup(headers))) { in TSendMail()
252 for (i = 0; i < strlen(headers_lc); i++) { in TSendMail()
253 headers_lc[i] = tolower(headers_lc[i]); in TSendMail()
262 } else if ( headers_lc && in TSendMail()
263 (pos1 = strstr(headers_lc, "from:")) && in TSendMail()
264 ((pos1 == headers_lc) || (*(pos1-1) == '\n')) in TSendMail()
269 pos1 = headers + (pos1 - headers_lc) + 5; in TSendMail()
278 efree(headers_lc); in TSendMail()
292 efree(headers_lc); in TSendMail()
304 …ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc, error_message T… in TSendMail()
311 efree(headers_lc); in TSendMail()
382 char *headers, char *headers_lc, char **error_message TSRMLS_DC) in SendText() argument
476 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
480 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
531 if (pos1 = strstr(headers_lc, "bcc:")) { in SendText()
535 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
691 char *headers_lc = NULL; in PostHeader() local
695 if (NULL == (headers_lc = estrdup(xheaders))) { in PostHeader()
698 for (i = 0; i < strlen(headers_lc); i++) { in PostHeader()
699 headers_lc[i] = tolower(headers_lc[i]); in PostHeader()
705 if (!xheaders || !strstr(headers_lc, "date:")) { in PostHeader()
713 if (!headers_lc || !strstr(headers_lc, "from:")) { in PostHeader()
723 …if ((headers_lc && (!strstr(headers_lc, "\r\nto:") && (strncmp(headers_lc, "to:", 3) != 0))) || !h… in PostHeader()
734 if (headers_lc) { in PostHeader()
735 efree(headers_lc); in PostHeader()
750 if (headers_lc) { in PostHeader()
751 efree(headers_lc); in PostHeader()