Net_NNTP::post()

Net_NNTP::post()

Net_NNTP::post() -- post a message

Description

Post a message to a news server

Parameter

  • $subject - Subject of the message

  • $newsgroup - Post to this newsgroup

  • $from - EMail adress of sender

  • $body - Body of the message

  • $additional - String of headers to add

Return value

string - Server response

Note

This function can not be called statically.

Warning

post() doesn't care about character encoding of subject and body. Make sure to set correct headers, if you are using non ASCII-127 characters.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.