Lines Matching refs:headers
206 char *headers, char *Subject, char *mailTo, char *data, in TSendMail() argument
224 if (headers) { in TSendMail()
228 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { in TSendMail()
266 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
277 if (headers) { in TSendMail()
292 if (headers) { in TSendMail()
306 …Text(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, heade… in TSendMail()
311 if (headers) { in TSendMail()
387 char *headers, char *headers_lc, char **error_message) in SendText() argument
484 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
488 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
538 else if (headers) { in SendText()
543 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
573 if (NULL == (stripped_header = ecalloc(1, strlen(headers)))) { in SendText()
581 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
587 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
594 if (headers && !stripped_header) { in SendText()
595 if (NULL == (stripped_header = estrndup(headers, strlen(headers)))) { in SendText()