I am currently using a php script to grab my new gmail emails and I've managed to get the date, who it is from, who it is to, and the subject (thanks to the internet).
I got that by grabbing the header info with imap:
$obj_thang = imap_headerinfo($m_mail, $what_ever);
Then just use something like:
$obj_thang->fromaddress
to get who it is from.
I can't find a way though to get the actual body of the email. I'm new to imap and the only reason I've got what I have is because I managed to find pieces of it on the internet.
So does anyone know how to get the body of the email? Also if anyone knows what to do to delete a message, that would be nice too
Thanks in advance for any help!
This post has been edited by animedude123: 06 December 2008 - 10:55 PM


Ask A New Question
Reply






MultiQuote






|