Posting an article

Top  Previous  Next

You may post an article using the Nntp#postArticle method providing a NntpArticle instance as an argument.

 

Example

 

// create new article

NntpArticle artl = new NntpArticle("test@test.com","alt.test","Test post");

artl.setBody("This is only a test");

                 

// post article

nntp.postArticle(artl);

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC