
January 28th, 2000, 07:43 AM
|
|
Registered User
|
|
Join Date: Oct 1999
Location: Oxford, England
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hi
I want to extract header data from a mail message using imap_header. This is what I hace currently:
if ($hdr = imap_header($mb,1)) {
while (list($key, $val) = each($hdr)) {
print "$key --> $valn";
}
}
which will get any variables out, but not return any of the arrays. How can I go through to contents of the arrays (such as from[]) as well?
Thanks
Mark
|