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

2005-08-19 Thread Mike Walsh

Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Wrapping ob_start() / ob_get_contents() / ob_end_clean() around the
 IMAP calls MIGHT let you catch the output and throw it away...



That is a good idea, I will give that a shot.

Thanks,

Mike


-- 
Mike Walsh - mike_walsh at mindspring.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2005-08-18 Thread Richard Lynch

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: [EMAIL PROTECTED]
 (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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Differences with imap_headerinfo() between PHP 4.3.11 and 4.4.0?

2005-08-15 Thread Mike Walsh
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: [EMAIL PROTECTED] (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