I am coding a page that will tie into an email account to view the messages in the inbox.
I've got it connecting, and working except that the imap_headers fromaddress variable is giving me the name of the sender (i.e. John Doe) instead of the email address (johndoe@email.com).
This makes writing a reply to function impossible. Any ideas on where I am going wrong?