Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($emails as $email_number) {
- /* get information specific to this email */
- $overview = imap_fetch_overview($inbox,$email_number,0);
- $message = imap_fetchbody($inbox,$email_number,2);
- /* output the email header information */
- /* output the email body */
- $output.= '<div class="body">'.$message.'</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement