imap_headder info returns an "object".
print_r works to see all the stuff containd within but when i try to acces it via
print object[date];
i get naff all
You need to assign the object to a variable first. There are some examples in the user contributed notes in the manual, but essentially something like this:
$header = imap_header($foo, $bar); print $header->date;
http://us4.php.net/manual/en/function.imap-headerinfo.php
Brad
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php