Bug #15536 Updated: Warning message generated on displaying a mail without a TO address
| From: | mfischer@php.net | Date: | Wed, 13 Feb 2002 12:17:51 +0000 |
| Subject: | Bug #15536 Updated: Warning message generated on displaying a mail without a TO address | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-241@lists.php.net to get a copy of this message | ||
ID: 15536
Updated by: mfischer@php.net
Reported By: vikas@indiamart.com
-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] vikas@indiamart.com
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:
Undisclosed-Recipient@ho.trivenigroup.com (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" <pramod@texporttechnologies.com>
From: "Pramoda Kumar Rai" <pramod@texporttechnologies.com>
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