
Mike Naeseth - 2012-06-25 05:48:55 -
In reply to message 2 from mitul koradia
Ok, figured it out. I needed to pull the subject and email body into variables. I just slighly modified the loop in the example file. Heres the relevant code for other newbies like myself.
for( $i = $tot; $i > 0; $i-- )
{
$email[$i] = $obj->getBody($i);
$email_headers = $obj->getHeaders($i);
$headers_subject[$i] = $email_headers['subject'];
}
Thanks for your contributions, Mitul!