Lines Matching refs:headers
193 char *headers, char *Subject, char *mailTo, char *data, in TSendMail() argument
211 if (headers) { in TSendMail()
215 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { in TSendMail()
253 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
264 if (headers) { in TSendMail()
279 if (headers) { in TSendMail()
291 …Text(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, heade… in TSendMail()
296 if (headers) { in TSendMail()
372 char *headers, char *headers_lc, char **error_message) in SendText() argument
469 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
473 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
523 else if (headers) { in SendText()
528 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
558 stripped_header = ecalloc(1, strlen(headers)); in SendText()
564 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
570 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
577 if (headers && !stripped_header) { in SendText()
578 stripped_header = estrndup(headers, strlen(headers)); in SendText()