Click here to get back home

nntp and imap_headerinfo problem

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
nntp and imap_headerinfo problem nintesa 07-16-2008
Posted by nintesa on July 16, 2008, 12:37 pm
Please log in for more thread options
Hello, I'm reading the messages of a newsgroup via imap_open. (aioe.org)

It'working for messages posted on 07/03/2008 but not for ones posted after.

I.e. the header_info returns are:

07-01-2008 12:23 - PAESTUM EMERGENZA RIFUTI?

stdClass Object ( [date] => Sun, 29 Jun 2008 12:31:23 +0200 [Date] =>
Sun, 29 Jun 2008 12:31:23 +0200 [subject] => PAESTUM EMERGENZA RIFUTI?
[Subject] => PAESTUM EMERGENZA RIFUTI? [message_id] =>
it.hobby.viaggi [fromaddress] => Francesco Martinelli [from] => Array (
[0] => stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
Francesco.Martinelli [host] => FrancescoMartinelli.com ) )
[reply_toaddress] => Francesco Martinelli [reply_to] => Array ( [0] =>
stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
Francesco.Martinelli [host] => FrancescoMartinelli.com ) )
[senderaddress] => Francesco Martinelli [sender] => Array ( [0] =>
stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
Francesco.Martinelli [host] => FrancescoMartinelli.com ) ) [Recent] => N
[Unseen] => [Flagged] => [Answered] => [Deleted] => [Draft] => [Msgno]
=> 912 [MailDate] => 29-Jun-2008 12:31:23 +0200 [Size] => 962 [udate] =>
1214735483 )


07-06-2008 14:21 -

stdClass Object ( [Recent] => N [Unseen] => [Flagged] => [Answered] =>
[Deleted] => D [Draft] => [Msgno] => 916 [MailDate] => 29-Jun-2008
14:22:21 +0200 [Size] => 0 [udate] => 1214742141 )



Does anyone know the problem?

Thanks

Posted by arkascha on July 17, 2008, 2:21 am
Please log in for more thread options
nintesa wrote:

> Hello, I'm reading the messages of a newsgroup via imap_open. (aioe.org)
So you found a news server yourself :-)

> It'working for messages posted on 07/03/2008 but not for ones posted
> after.
> I.e. the header_info returns are:
>
> 07-01-2008 12:23 - PAESTUM EMERGENZA RIFUTI?
>
> stdClass Object ( [date] => Sun, 29 Jun 2008 12:31:23 +0200 [Date] =>
> Sun, 29 Jun 2008 12:31:23 +0200 [subject] => PAESTUM EMERGENZA RIFUTI?
> [Subject] => PAESTUM EMERGENZA RIFUTI? [message_id] =>
> it.hobby.viaggi [fromaddress] => Francesco Martinelli [from] => Array (
> [0] => stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
> Francesco.Martinelli [host] => FrancescoMartinelli.com ) )
> [reply_toaddress] => Francesco Martinelli [reply_to] => Array ( [0] =>
> stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
> Francesco.Martinelli [host] => FrancescoMartinelli.com ) )
> [senderaddress] => Francesco Martinelli [sender] => Array ( [0] =>
> stdClass Object ( [personal] => Francesco Martinelli [mailbox] =>
> Francesco.Martinelli [host] => FrancescoMartinelli.com ) ) [Recent] => N
> [Unseen] => [Flagged] => [Answered] => [Deleted] => [Draft] => [Msgno]
> => 912 [MailDate] => 29-Jun-2008 12:31:23 +0200 [Size] => 962 [udate] =>
> 1214735483 )
>
>
> 07-06-2008 14:21 -
>
> stdClass Object ( [Recent] => N [Unseen] => [Flagged] => [Answered] =>
> [Deleted] => D [Draft] => [Msgno] => 916 [MailDate] => 29-Jun-2008
> 14:22:21 +0200 [Size] => 0 [udate] => 1214742141 )
>

Well, you dont really provide any valuable information about WHAT you are
doing, HOW you process the messages... How are people supposed to help ?

But mayby a wiild guess:
The 'empty' object at the bottom might suggest that you are trying to read a
message that does not exist. Check the message ids you are trying to
retrieve.

arkascha

Posted by nintesa on July 18, 2008, 6:01 pm
Please log in for more thread options

> Well, you dont really provide any valuable information about WHAT you are
> doing, HOW you process the messages... How are people supposed to help ?
>


I tried with a different nntp server and it does work!!

Similar ThreadsPosted
NNTP and PHP March 7, 2005, 8:41 pm
Help needed with nntp March 10, 2005, 4:07 am
php NNTP server? July 4, 2006, 3:55 am
How to use fgets() with a NNTP server? April 7, 2006, 5:57 am
NNTP store newsgroup posts December 30, 2005, 8:52 pm
PHP to post to a newsgroup?? cant find if nntp is accessible August 28, 2004, 3:12 am
PHP to read nntp protocol (usenet, newsgroups) July 11, 2008, 5:17 am
for jewel: extremely pleasing spam free nntp access - jodfe - (1/1) February 19, 2007, 12:03 am
Problem of php_ldap.dll in appserv 2.4.3 and Problem of Apache server in appserv 2.5.3 January 27, 2005, 7:53 pm
PHP with WML problem July 26, 2004, 10:27 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap