Lines Matching refs:headers
213 char *headers, char *Subject, char *mailTo, char *data, in TSendMail() argument
235 if (headers) { in TSendMail()
240 if (NULL == (headers = php_win32_mail_trim_header(headers TSRMLS_CC))) { in TSendMail()
247 if (NULL == (headers_lc = estrdup(headers))) { in TSendMail()
248 efree(headers); in TSendMail()
269 pos1 = headers + (pos1 - headers_lc) + 5; in TSendMail()
276 if (headers) { in TSendMail()
277 efree(headers); in TSendMail()
290 if (headers) { in TSendMail()
291 efree(headers); in TSendMail()
304 …ret = SendText(RPath, Subject, mailTo, mailCc, mailBcc, data, headers, headers_lc, error_message T… in TSendMail()
309 if (headers) { in TSendMail()
310 efree(headers); 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()
530 else if (headers) { in SendText()
535 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
565 if (NULL == (stripped_header = ecalloc(1, strlen(headers)))) { in SendText()
573 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
579 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
586 if (headers && !stripped_header) { in SendText()
587 if (NULL == (stripped_header = estrndup(headers, strlen(headers)))) { in SendText()