Hi!
I have rewritten the script and now the output appers in a text form
$testbody = imap_body($mbox, $msgno, "IMAGE/JPEG");
$testbody = base64_encode($testbody);
// header('Content-Type: image/jpeg');
echo $testbody;
This is a sample of the script how can i convert the ouput to an
image/jpeg?
Hi!
Iam trying too make a page where the function is to display an attached
.jpg file
from a imap mailbox. This is a small code i found and rewrote some...
include '/etc/labbuser';
$mbox = imap_open ("{localhost:993/imap/ssl/novalidate-cert}INBOX",
"$imuser", "$impass");
$mno = "57";
$partty
2 matches
Mail list logo