我刚开始使用http://nntpclientlib.codeplex.com/刚刚发布了我的第一篇文章。 但我不知道如何获取我发布的文章的消息ID。 我设置的文章只包含主题,新闻组和from-headers。 在发布文章后我收到了来自服务器的240响应 - 但是我没有看到任何获取Message-Id的方法。
I just started using http://nntpclientlib.codeplex.com/ and just posted my first article. But I don't know how to get the message-Id to the article that I posted. I have set up the article with only a subject, newsgroup and from-headers. I got a 240 response from the server after posting the article - but I don't see any way to get the Message-Id.
最满意答案
我刚刚发现自己:你只需要在你的文章标题中添加一个随机消息ID。 如果它尚未被其他文章使用,则POST将成功。
I just found out myself: You just have to add a random message-Id to your article-headers. If it is not already used by another article, the POST will be successfull.
更多推荐
发布评论