Creating a new article

Top  Previous  Next

To create a new article create a new NntpArticle instance providing the From, Newsgroups and Subject header values in the constructor.  You may then set the body using the NntpArticle#setBody method.

 

Example

 

// create new article

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

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

 

 

 

 





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

© 2021 JSCAPE LLC