Lines Matching refs:headers
181 char *headers, char *Subject, char *mailTo, char *data, in TSendMail() argument
199 if (headers) { in TSendMail()
203 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { in TSendMail()
241 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
252 if (headers) { in TSendMail()
267 if (headers) { in TSendMail()
279 …Text(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, heade… in TSendMail()
284 if (headers) { in TSendMail()
357 char *headers, char *headers_lc, char **error_message) in SendText() argument
454 …else if (headers && (pos1 = strstr(headers_lc, "cc:")) && ((pos1 == headers_lc) || (*(pos1-1) == '… in SendText()
458 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
508 else if (headers) { in SendText()
513 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
543 stripped_header = ecalloc(1, strlen(headers)); in SendText()
549 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
555 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
562 if (headers && !stripped_header) { in SendText()
563 stripped_header = estrndup(headers, strlen(headers)); in SendText()