> Try to put a "." when you finished at the new line. And use utf7 > encoding.
I did already put this . after the message. This is described in the spec, but I might have put it into the wrong spot?! What do u suggest to put it? What is utf7 encoding? Can you make an example? Andy -- ----------------------------- http://www.ozforum.info "Latex Master" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello andy, > Try to put a "." when you finished at the new line. And use utf7 > encoding. > > Friday, August 9, 2002, 10:11:44 AM, you wrote: > > a> Hi there, > > a> I am trying to write a script which is posting news to a newsserver. > a> Unfortunatelly I do get a 535 error back which is not reported in: > a> http://www.faqs.org/rfcs/rfc977.html Section 3.10.2 > > a> Maybe someone of you guys has a clue of an idea what is going wrong. > a> connecting works, so I did not include the connect code. The code for > a> posting is underneath. > > a> Thanx for any help on that. > > a> Andy > > > a> $cfgServer = "news.php.net"; > a> $cfgNewsGroup = "php.general"; > a> $subject='Test'; > a> $header=' > a> Newsgroups: '.$cfgNewsGroup.' > a> Path: '.$cfgServer.' > a> Relay-Version: version B 2.10 2/13/83; site cbosgd.UUCP > a> Posting-Version: version B 2.10 2/13/83; site eagle.UUCP > a> From: [EMAIL PROTECTED] (Jerry Schwarz) > a> Subject: '.$subject.' > a> Message-ID: <[EMAIL PROTECTED]> > a> Date: Friday, 10-Aug-2002 16:14:55 EST > a> Followup-To: '.$cfgNewsGroup.' > a> Expires: Saturday, 1-Jan-2003 00:00:00 EST > a> Date-Received: Friday, 10-Aug-2002 16:59:30 EST > a> Organization: Bell Labs, Murray Hill > a> '; > > a> $body='\n > a> This is a test. > a> '; > > a> $message=$header.$body; > > a> $put = fputs($usenet_handle, "POST $message\n"); > > a> echo $put; > > > > > > > -- > Best regards, > Latex mailto:[EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php