Hello.
I have a real enoying problem.
If i connect to my mailserver by this:
$mbox=imap_open("{localhost/Pop3:110}$maBox",$userLoggedIn, $userPassLoggedIn);
I can use this to get the mail structure:
$structure = imap_fetchstructure($mbox, $msgID);
and i can use this on all parts to se if they are an attatchment. $structure->ifdisposition;
I can also extract mimetypes and encoding.
BUT!
if i use this to connect:
$mbox=imap_open("{localhost}$maBox",$userLoggedIn, $userPassLoggedIn);
when im connecting by IMAP, i CAN'T use this:
$structure->ifdisposition
it's shows FAlse even if there are an disposition.
But i can fetch the mime_types and encoodings.
and i want to use IMAP and not Pop3.
What am i doing wrong?
//JOhan