Lines Matching refs:addr

2602 	ADDRESS *addr;  in PHP_FUNCTION()  local
2609 addr=mail_newaddr(); in PHP_FUNCTION()
2612 addr->mailbox = cpystr(mailbox); in PHP_FUNCTION()
2616 addr->host = cpystr(host); in PHP_FUNCTION()
2620 addr->personal = cpystr(personal); in PHP_FUNCTION()
2623 addr->next=NIL; in PHP_FUNCTION()
2624 addr->error=NIL; in PHP_FUNCTION()
2625 addr->adl=NIL; in PHP_FUNCTION()
2627 string = _php_rfc822_write_address(addr TSRMLS_CC); in PHP_FUNCTION()
3895 ADDRESS *addr; in _php_imap_mail() local
3924 addr = NULL; in _php_imap_mail()
3925 rfc822_parse_adrlist(&addr, tempMailTo, NULL); in _php_imap_mail()
3926 while (addr) { in _php_imap_mail()
3927 if (addr->host == NULL || strcmp(addr->host, ERRHOST) == 0) { in _php_imap_mail()
3930 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3931 bt_len += strlen(addr->mailbox); in _php_imap_mail()
3932 bufferTo = safe_erealloc(bufferTo, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3933 bt_len += strlen(addr->host); in _php_imap_mail()
3934 offset += slprintf(bufferTo + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
3936 addr = addr->next; in _php_imap_mail()
3953 addr = NULL; in _php_imap_mail()
3954 rfc822_parse_adrlist(&addr, tempMailTo, NULL); in _php_imap_mail()
3955 while (addr) { in _php_imap_mail()
3956 if (addr->host == NULL || strcmp(addr->host, ERRHOST) == 0) { in _php_imap_mail()
3959 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3960 bt_len += strlen(addr->mailbox); in _php_imap_mail()
3961 bufferCc = safe_erealloc(bufferCc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3962 bt_len += strlen(addr->host); in _php_imap_mail()
3963 offset += slprintf(bufferCc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
3965 addr = addr->next; in _php_imap_mail()
3979 addr = NULL; in _php_imap_mail()
3980 rfc822_parse_adrlist(&addr, tempMailTo, NULL); in _php_imap_mail()
3981 while (addr) { in _php_imap_mail()
3982 if (addr->host == NULL || strcmp(addr->host, ERRHOST) == 0) { in _php_imap_mail()
3985 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->mailbox)); in _php_imap_mail()
3986 bt_len += strlen(addr->mailbox); in _php_imap_mail()
3987 bufferBcc = safe_erealloc(bufferBcc, bt_len, 1, strlen(addr->host)); in _php_imap_mail()
3988 bt_len += strlen(addr->host); in _php_imap_mail()
3989 offset += slprintf(bufferBcc + offset, bt_len - offset, "%s@%s,", addr->mailbox, addr->host); in _php_imap_mail()
3991 addr = addr->next; in _php_imap_mail()