php imap functions problem

From: Date: Thu, 09 Sep 2004 12:37:09 +0000
Subject: php imap functions problem
Groups: php.general 
Request: Send a blank email to php-general+get-196210@lists.php.net to get a copy of this message
Hello NG Please excuse my bad english because I come from austria. I hope you understand me... I have searched in the NG and in internet and don't found an answer to my php problem: When I use the imap functions with php all looks like good but when I will get the body or structure from an email I get an error. my Code looks like this: ------------------------- $mbox = imap_open( {localhost:143/imap/notls}INBOX , username , password , OP_HALFOPEN ); $structure = imap_fetchstructure($mbox, msgnum ); The Error ( Warning ): ---------------------- Warning: imap_fetchstructure(): Bad message number in (...) on line (...) I dont't think that the Message number is really the problem because i tested also other numbers. I hope anybody can help me! Thanks Markus

« previous php.general (#196210) next »