Lines Matching refs:headers
179 const char *headers, const char *Subject, const char *mailTo, const char *data, in TSendMail() argument
197 if (headers) { in TSendMail()
201 if (NULL == (headers_trim = php_win32_mail_trim_header(headers))) { in TSendMail()
239 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
250 if (headers) { in TSendMail()
265 if (headers) { in TSendMail()
277 …Text(RPath, Subject, mailTo, mailCc, mailBcc, data, headers ? ZSTR_VAL(headers_trim) : NULL, heade… in TSendMail()
282 if (headers) { in TSendMail()
386 const 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()
548 else if (headers) { in SendText()
553 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
598 stripped_header = ecalloc(1, strlen(headers)); in SendText()
604 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
610 memcpy(stripped_header + (pos1 - headers - 4), pos2 + 2, strlen(pos2) - 2); in SendText()
617 if (headers && !stripped_header) { in SendText()
618 stripped_header = estrndup(headers, strlen(headers)); in SendText()