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); -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php