Re: PATCH - improvements for imap_headerinfo()

From: Date: Tue, 23 Apr 2002 20:19:08 +0000
Subject: Re: PATCH - improvements for imap_headerinfo()
Groups: php.dev 
Request: Send a blank email to php-dev+get-83230@lists.php.net to get a copy of this message
I posted the wrong file to the last email... must find coffee or sleep :-) 1573c1573 < char dummy[2000], fulladdress[MAILTMPLEN]; --- > char *mystring, dummy[2000], fulladdress[MAILTMPLEN]; 1608c1608,1617 < en = mail_fetchenvelope(imap_le_struct->imap_stream, Z_LVAL_PP(msgno)); --- > mystring = mail_fetchheader_full(imap_le_struct->imap_stream, Z_LVAL_PP(msgno), NIL, > &length, NIL); > if (myargc == 5) { > rfc822_parse_msg(&en, NULL, mystring, length, NULL, Z_STRVAL_PP(defaulthost), > NIL); > } else { > rfc822_parse_msg(&en, NULL, mystring, length, NULL, "UNKNOWN", > NIL); > } > > /* call a function to parse all the text, so that we can use the > same function to parse text from other sources */ > _php_make_header_object(return_value, en TSRMLS_CC); 1639a1649 > mail_free_envelope(&en);

« previous php.dev (#83230) next »