ID: 15536 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: IMAP related Operating System: Sun Solaris PHP Version: 4.1.0 New Comment:
Prefix the function in question with a '@', e.g. @imap_header() . Previous Comments: ------------------------------------------------------------------------ [2002-02-13 05:55:16] [EMAIL PROTECTED] Hi, I am using web-based interface to display mails using IMAP The module calls the function "imap_header" for each mail and then displays output in required format. But for few mails, which were sent without a TO address, and has only BCC address (can be done using Eudora), the interface shows the following warning ################## Warning: Unterminated mailbox: [EMAIL PROTECTED] (errflg=3) in Unknown on line 0 Warning: Unexpected characters at end of address: :;@vd1.vsnl.net.in;> (errflg=3) in Unknown on line 0 ##################### The mail that caused this, has the following headers ################## Reply-To: "Pramoda Kumar Rai" <[EMAIL PROTECTED]> From: "Pramoda Kumar Rai" <[EMAIL PROTECTED]> To: <Undisclosed-Recipient:;@vd1.vsnl.net.in;> Subject: Fw: McAfee Newsletter Date: Sat, 2 Feb 2002 22:17:37 +0530 Organization: Texport Technoligies Pvt. Ltd. MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 ################# I found the similar error at many places but no solutions. Is there any solution to atleast prevent the warning from being displayed.. Thanks Vikas Aggarwal ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15536&edit=1