nntp_auth_post
Post message to NNTP server with authorization
arraynntp_auth_post
(in server varchar,
in user varchar,
in password varchar,
in body varchar);
Description
Nntp_auth_post is used to post a message to the server require authorization.
Parameters
server –
The host to connect with. IP address or hostname:port. There is
no default for port, so to connect to the standard port for NNTP,
use <hostname/IP address>:119
user –
The username.
password –
The user password.
body –
The body stringThe structure of the message must comply
with RFC 850 (Standard for Interchange of USENET Messages).
Return Types
1 on success or error
Errors
SQLState |
Error Code |
Error Text |
Description |
2E000
|
NN015
|
Invalid address for News Server at [host]
|
|
08001
|
NN016
|
Unable to Contact News Server at [host]
|
|
08006
|
NN017
|
Misc. error in connection in nntp_auth_post
|
|