0

Hi all.

I have a PHP script that reads my email inbox via POP3. I'm using the PHP IMAP extention.

I can already access the "From" and "To" fields.
What i'm having trouble with is accessing the Cc field.
I need to read/count/summarize all the email addresses and draw up some stats.

2
Contributors
4
Replies
14
Views
3 Years
Discussion Span
Last Post by Some-Jackass
0

I have

$overview = imap_fetch_overview($inbox,$email_number);
var_dump($overview);

This only returns an array with the following:
[subject]
[from]
[to]
[date]
[message_id]
[references]
[in_reply_to]
[size]
[uid]
[msgno]
[recent]
[flagged]
[answered]
[deleted]
[seen]
[draft]
[udate]

The Cc value isnt there.

0

But the function "imap_headerinfo" look like it might work.
Don't know why I didn't see it before.

I'll give it a try and will get back to you.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.