Posting to a newsgroup

Z

Zach

In order to post to a newsgroup, what would be different in the C# code
as compared to writing to a regular email address?

Many thanks,
Zach
 
Z

Zach

Peter said:
A lot. To send email, you can use the built-in SMTP support. But
posting to a newsgroup requires communication with an NNTP server. The
NNTP protocol is completely independent of SMTP, and there's not any
support for NNTP built-in to .NET.

I suppose you might be able to find an SMTP server somewhere that will
automatically forward email messages to a newsgroup of your choosing.
But that's a server configuration issue, not a C# or .NET question. :)

Pete

OK Pete, thanks.
Zach
 
A

Arne Vajhøj

Zach said:
In order to post to a newsgroup, what would be different in the C# code
as compared to writing to a regular email address?

Different API.

And you will need to find something, because it is not built
into .NET, but there are plenty out on the internet.

Google finds:

http://www.developerfusion.com/article/4472/how-to-nntp-in-c/
http://www.geekpedia.com/tutorial212_Developing-an-NNTP-Newsgroup-Reader.html
http://www.codeproject.com/KB/IP/nntpcomponent.aspx
etc.

Arne
 
J

J.B. Moreno

Batvanio said:
-snip-
This one caught my attention - the business case is interesting - why
would one want to programmatically post in a newsgroup? So far I have
seeen only one application of this...

Well, the obvious reason is because you're trying to write a
newsreader...before putting effort into that, one should of course read
the NNTP specs, RFC 1036 and son-of-1036.
 
A

Arne Vajhøj

Batvanio said:
This one caught my attention - the business case is interesting - why
would one want to programmatically post in a newsgroup? So far I have
seeen only one application of this...

Maybe he wants to write his own newsreader.

Maybe he wants to post a FAQ to group automatically every N
something.

The NNTP protocol is intended to be used.

I do not see any reason why a NNTP client should not be
written in C#.

The only reason there are not many of them is probably that
most NNTP clients predates C# with a decade or two.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Blocking MouseUp 6
StreamReader/Writer dealing with funny characters 10
Question about printing 10
Using third party DLL in ASP.NET 2
Page skipping 5
Split 14
OnClosing 5
Clicking a column by means of code 6

Top