#22444 [NEW]: [IMAP] Implement c-client's nntp_mail
From: nathan at dstatement dot com
Operating system: any
PHP version: 4.2.3
PHP Bug Type: Feature/Change Request
Bug description: [IMAP] Implement c-client's nntp_mail
Hi!
Currently the imap_* functions do not have any way to post a article to a
newsgroup/NNTP stream even though the library supports reading NNTP groups
and is quite good at it.
The UW c-client library (on which the php imap_* functions are based)
provides a function for this called nntp_mail, documentation of which can
be found at:
http://www.washington.edu/imap/documentation/internal.txt.html)
The specific reference is:
--- SNIP
long nntp_mail (NNTPSTREAM *stream,ENVELOPE *msg,BODY *body);
stream stream to transmit mail
msg message envelope
body message body
This function negotiates an NNTP posting transaction to deliver the
specified news message. This function returns T if success or NIL if
there is any failure. The text reason for the failure is in stream->reply
item; if it is associated with a recipient it is also in that address'
address->error item.
--- PINS
I humbly ask that this function be implemented. Currently the only way to
post is by fsockopen()'ing a connection to the news server which is
contradictory to using the imap_* functions in the first place.
Thanks!
-n
--
Edit bug report at http://bugs.php.net/?id=22444&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22444&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22444&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22444&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22444&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22444&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22444&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22444&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22444&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22444&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22444&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22444&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22444&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22444&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22444&r=gnused
Thread (2 messages)
- nathan at dstatement dot com