Lines Matching refs:headers
214 char *headers, char *Subject, char *mailTo, char *data, in TSendMail() argument
236 if (headers) { in TSendMail()
241 if (NULL == (headers = php_win32_mail_trim_header(headers TSRMLS_CC))) { in TSendMail()
248 if (NULL == (headers_lc = estrdup(headers))) { in TSendMail()
249 efree(headers); in TSendMail()
270 pos1 = headers + (pos1 - headers_lc) + 5; in TSendMail()
277 if (headers) { in TSendMail()
278 efree(headers); in TSendMail()
291 if (headers) { in TSendMail()
292 efree(headers); in TSendMail()
305 …ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc, error_message T… in TSendMail()
310 if (headers) { in TSendMail()
311 efree(headers); 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()
531 else if (headers) { in SendText()
536 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
566 if (NULL == (stripped_header = ecalloc(1, strlen(headers)))) { in SendText()
574 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
580 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
587 if (headers && !stripped_header) { in SendText()
588 if (NULL == (stripped_header = estrndup(headers, strlen(headers)))) { in SendText()