Thread View: news.software.readers
3 messages
3 total messages
Started by Deth
Tue, 01 Aug 2000 00:00
Need help with Headers!
Author: Deth
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
32 lines
1771 bytes
1771 bytes
Hello. I'm trying to make a program in Visual Basic which posts announcements to newsgroups. I am having trouble with the header. I log on to my news server,send the post command, and get: 340 Send Article to be Posted then I send the following header, followed by the body and a period on a line by itself: header1 = "Path: news02.optonline.net!news01.optonline.net!news02.optonline.net.POSTED!not-fo r-mail" & NL & "X-Priority: 3" & NL & "X-MSMail-Priority: Normal" & NL & "X-Newsreader: Deth's WHmonitor 0.1b" & NL & "X-MimeOLE: Produced By Deth's WHmonitor 0.1b" & NL header3 = "Newsgroups: microsoft.public.vb.general" & NL header4 = "From: deth@optonline.net (Deth)" & NL header5 = "Subject: Re: Taim 's Plan & NL" header6 = "Message-ID: <kjDh5.517$sR4.8044@news02.optonline.net>" & NL header7 = "Date: Tue, 01 Aug 2000 16:56:48 GMT" & NL header8 = "Organization: Deth's WOT Alert" & NL (NL is a carriage return). And get the message: 441 Posting Failed (Article header missing.) What am I doing wrong? Thanks
Re: Need help with Headers!
Author: Deth
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
45 lines
2119 bytes
2119 bytes
Thanks! It now works! Deth "J. B. Moreno" <planb@newsreaders.com> wrote in message news:1eeoxc7.evmrrp1wbqcnmN%planb@newsreaders.com... > Deth <deth@optonline.net> wrote: > > > Hello. I'm trying to make a program in Visual Basic which posts > > announcements to newsgroups. I am having trouble with the header. I log on > > to my news server,send the post command, and get: > > > > 340 Send Article to be Posted > > > > then I send the following header, followed by the body and a period on a > > line by itself: > > > > header1 = "Path: news02.optonline.net!news0 > -snip- > > header5 = "Subject: Re: Taim 's Plan & NL" > -snip- > > header8 = "Organization: Deth's WOT Alert" & NL > > > > (NL is a carriage return). > > > > And get the message: > > > > 441 Posting Failed (Article header missing.) > > > > What am I doing wrong? Thanks > > Three things -- one you shouldn't be trying to preload the path, that > isn't kosher and can (quite properly) get your article rejected, and > two, the headers are not separated by a carriage return, they are > separated by CRLF (carriage return and line feed), and finally three, > header5 looks like it might not even have a carriage return, and the > Subject is a required header. > > -- > John B. Moreno
Re: Need help with Headers!
Author: J. B. Moreno
Date: Tue, 01 Aug 2000 00:00
Date: Tue, 01 Aug 2000 00:00
36 lines
1984 bytes
1984 bytes
Deth <deth@optonline.net> wrote: > Hello. I'm trying to make a program in Visual Basic which posts > announcements to newsgroups. I am having trouble with the header. I log on > to my news server,send the post command, and get: > > 340 Send Article to be Posted > > then I send the following header, followed by the body and a period on a > line by itself: > > header1 = "Path: news02.optonline.net!news0 -snip- > header5 = "Subject: Re: Taim 's Plan & NL" -snip- > header8 = "Organization: Deth's WOT Alert" & NL > > (NL is a carriage return). > > And get the message: > > 441 Posting Failed (Article header missing.) > > What am I doing wrong? Thanks Three things -- one you shouldn't be trying to preload the path, that isn't kosher and can (quite properly) get your article rejected, and two, the headers are not separated by a carriage return, they are separated by CRLF (carriage return and line feed), and finally three, header5 looks like it might not even have a carriage return, and the Subject is a required header. -- John B. Moreno
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads