Text obtained from imap_open not printing to browser
Posted: Fri Nov 24, 2006 9:54 am
Hello.
I have the following code:
If I run this script from a shell I can view the contents of the body for the e-mail but if I run this through a browser I get no HTML returned. If I echo a step number for each line of code it seems to stop printing output on the line
Can anyone shed some light on to what's going wrong here?
Regards,
I have the following code:
Code: Select all
$mbox = imap_open("{x:110/pop3}INBOX", "x", "x");
$body = imap_body($mbox, 1);
print $body;
imap_close($mbox);Code: Select all
$mbox = imap_open("{x:110/pop3}INBOX", "x", "x");Regards,