James Bond - 2006-02-09 19:21:59 - In reply to message 5 from Harish Chauhan
Thanks for reply but I still have a problem. Could you help me and show me where exactly should I put this code:
"$res = $mimedecode->get_parsed_message();
to retrive header information you can use
//From $res->headers['from'] //Sender's Email
in impclasstest.php to get sender's email address into "$sender" so I can use sender's email address for replay in my php script?
Alfredo Herrejon - 2009-03-24 16:22:40 - In reply to message 5 from Harish Chauhan
Hello Harish, i am trying to read all the MAILER-DAEMON email so i used the $imap->search_mailbox("FROM \"MAILER-DAEMON\"") and all is working fine, but when i tried to make a get $msg=$mimedecoder->get_parsed_message()
and i want to get the headers the $msg->headers is empty also the $msg->headers['to'] and $msg->headers['from'], can you help me please, what i am missing? Thanks in advance.