473,324 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

nntp and imap_headerinfo problem

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] =>
<5w*****************@tornado.fastwebnet.it[newsgroups] =>
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
Jul 16 '08 #1
2 1581
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] =>
<5w*****************@tornado.fastwebnet.it[newsgroups] =>
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
Jul 17 '08 #2
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!!
Jul 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gene Mat | last post by:
Hi, I'm trying to build a simple Perl program to get a list of newsgroups. Here's what I have... #!/opt/local/bin/perl use Net::NNTP; $nntp = Net::NNTP->new("nntp.perl.org",Debug,10);...
3
by: J.Marsch | last post by:
For the past few days, I've been getting really poor performance with these newgroups (use Outlook Express 6 as my NNTP reader), and sometimes it will completely fail download a message, and I have...
4
by: sdf | last post by:
Hey all, I have a problem here. I got some code from the web/a book (it was actually the exactly the same), on how to do NNTP. The code works except it's VERY cpu intensive and VERY slow. I looked...
11
by: Jim | last post by:
Have you seen any NNTP classes that I may use or build upon to build a simple newsreader/downloader? Is there such a class in the .Net framework that I have overlooked? If not, inclusion of RFC...
9
by: Sandman | last post by:
Ok, I do NOT want to *connect* to a NNTP server from PHP, I want to - from a NNTP client - connect to a NNTP server that is powered by PHP. Specifically, I want articles, forum posts and such...
4
by: BiT | last post by:
Hi i'm trying to code simple nntp client with vb.net and sockets client class the problem is the machine keep stuck (probbley beacuse it ain't gettin` data from the server) after the user name...
1
by: nondos | last post by:
Hello I coded vb.net 2005 application to d.l binary pictures file from news network server and then decode the file with yEnc and show the pictures. the code work fine, but the files i d.l...
0
by: mcheung63 | last post by:
Hi For some messages, imap_headerinfo return false, why? I am sure the message id is ok, because i get those id from imap_fetch_overview() thanks from Peter (cmk128@hotmail.com)
11
by: Michael Torrie | last post by:
Mike Driscoll wrote: I rarely use NNTP these days. I access c.l.py exclusively via e-mail, and that works very well. In some cases there is a lot of spam that gets filtered out of the nntp...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.