I'm writing a script that checks an IMAP email account. I can't seem to get the actual email address that I'm receiving an email from. According to this:
should return who its from. But it just returns the name, not the actual email. Halpz?
$overview = imap_fetch_overview($imap, $result); $emailaddy = $overview->from;