Re: Differences with imap_headerinfo() between PHP 4.3.11 and 4.4.0?

From: Date: Thu, 18 Aug 2005 08:08:15 +0000
Subject: Re: Differences with imap_headerinfo() between PHP 4.3.11 and 4.4.0?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-220836@lists.php.net to get a copy of this message
Wrapping ob_start() / ob_get_contents() / ob_end_clean() around the IMAP calls MIGHT let you catch the output and throw it away... On Mon, August 15, 2005 11:07 am, Mike Walsh wrote: > I have an application which uses imap_headerinfo() to query an NNTP > server > and display some information as part of a web application. I am > seeing a > difference between 4.3.11 and 4.4.0 when the e-mail address in the > article > contains a spam block. > > I get the following notice: > > Notice: (null)(): Unterminated mailbox: name@.MISSING-HOST-NAME. > (errflg=3) > in Unknown on line 0 > Notice: (null)(): Must use comma to separate addresses: > somedomain(dot.dot)com> (errflg=3) in Unknown on line 0 > > I am unable to suppress the notice either with error_reporting() or > the @ > operator. > > Anyone else seeing anything similar? Any idea how to suppress the > Notice? > The oddly formed e-mail address isn't something I use so I don't > really care > how it is formatted but the IMAP library seems care enough to generate > the > notices. > > Thanks, > > Mike > > -- > > Mike Walsh - mike_walsh at mindspring dot com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#220836) next »