Lines Matching refs:headers
180 const char *headers, const char *Subject, const char *mailTo, const char *data, in TSendMail() argument
198 if (headers) { in TSendMail()
202 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { in TSendMail()
240 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
251 if (headers) { in TSendMail()
266 if (headers) { in TSendMail()
278 …Text(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, heade… in TSendMail()
283 if (headers) { in TSendMail()
387 const char *headers, char *headers_lc, char **error_message) in SendText() argument
485 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
489 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
549 else if (headers) { in SendText()
554 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
599 stripped_header = ecalloc(1, strlen(headers)); in SendText()
605 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
611 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
618 if (headers && !stripped_header) { in SendText()
619 stripped_header = estrndup(headers, strlen(headers)); in SendText()