Lines Matching refs:env

2712 	ENVELOPE *env;  in PHP_FUNCTION()  local
2718 env = mail_newenvelope(); in PHP_FUNCTION()
2722 rfc822_parse_adrlist(&env->to, str_copy, ZSTR_VAL(defaulthost)); in PHP_FUNCTION()
2727 addresstmp = env->to; in PHP_FUNCTION()
2746 mail_free_envelope(&env); in PHP_FUNCTION()
3481 ENVELOPE *env; in PHP_FUNCTION() local
3486 (env = mail_fetch_structure (imap_le_struct->imap_stream, i, NIL, NIL))) { in PHP_FUNCTION()
3488 if (env->subject) { in PHP_FUNCTION()
3489 add_property_string(&myoverview, "subject", env->subject); in PHP_FUNCTION()
3491 if (env->from) { in PHP_FUNCTION()
3492 env->from->next=NULL; in PHP_FUNCTION()
3493 address =_php_rfc822_write_address(env->from); in PHP_FUNCTION()
3498 if (env->to) { in PHP_FUNCTION()
3499 env->to->next = NULL; in PHP_FUNCTION()
3500 address = _php_rfc822_write_address(env->to); in PHP_FUNCTION()
3505 if (env->date) { in PHP_FUNCTION()
3506 add_property_string(&myoverview, "date", (char*)env->date); in PHP_FUNCTION()
3508 if (env->message_id) { in PHP_FUNCTION()
3509 add_property_string(&myoverview, "message_id", env->message_id); in PHP_FUNCTION()
3511 if (env->references) { in PHP_FUNCTION()
3512 add_property_string(&myoverview, "references", env->references); in PHP_FUNCTION()
3514 if (env->in_reply_to) { in PHP_FUNCTION()
3515 add_property_string(&myoverview, "in_reply_to", env->in_reply_to); in PHP_FUNCTION()
3542 ENVELOPE *env; in PHP_FUNCTION() local
3559 env = mail_newenvelope(); in PHP_FUNCTION()
3562 env->remail = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3566 PHP_RFC822_PARSE_ADRLIST(&env->return_path, pvalue); in PHP_FUNCTION()
3570 env->date = (unsigned char*)cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3574 PHP_RFC822_PARSE_ADRLIST(&env->from, pvalue); in PHP_FUNCTION()
3578 PHP_RFC822_PARSE_ADRLIST(&env->reply_to, pvalue); in PHP_FUNCTION()
3582 env->in_reply_to = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3586 env->subject = cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3590 PHP_RFC822_PARSE_ADRLIST(&env->to, pvalue); in PHP_FUNCTION()
3594 PHP_RFC822_PARSE_ADRLIST(&env->cc, pvalue); in PHP_FUNCTION()
3598 PHP_RFC822_PARSE_ADRLIST(&env->bcc, pvalue); in PHP_FUNCTION()
3602 env->message_id=cpystr(Z_STRVAL_P(pvalue)); in PHP_FUNCTION()
3836 rfc822_encode_body_7bit(env, topbod); in PHP_FUNCTION()
3840 rfc822_header(tmp, env, topbod); in PHP_FUNCTION()
3936 mail_free_envelope(&env); in PHP_FUNCTION()