I have tried imap_headers, imap_fetchheader, imap_headerinfo, and imap_fetch_overview.
They all return the name of the sender, so if the person has a name applied to their account it would return, John Smith, instead of firstname.lastname@example.org.
I need to get the e-mail address of the sender. I am using the imap commands in PHP script. Does anyone know how to do this?
Thanks very much in advance.