Req #22444 [Opn->Sus]: Expose NNTP functionality in the IMAP extension
| From: | cmb@php.net | Date: | Fri, 09 Oct 2020 14:56:29 +0000 |
| Subject: | Req #22444 [Opn->Sus]: Expose NNTP functionality in the IMAP extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229494@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=22444&edit=1
ID: 22444
Updated by: cmb@php.net
Reported by: nathan at dstatement dot com
Summary: Expose NNTP functionality in the IMAP extension
-Status: Open
+Status: Suspended
Type: Feature/Change Request
Package: IMAP related
Operating System: *
PHP Version: *
Block user comment: N
Private report: N
New Comment:
If you (or anybody) else is still interested in this feature,
please forward your request to the internals mailing list[1],
since it appears to be very controversial to add new features to
the IMAP extension at this time, given that libc-client is
unmaintained for years. At least that requires discussion for
which this bugtracker is not suitable.
For the time being, I'm suspending this ticket.
[1] <https://www.php.net/mailing-lists.php#internals>
Previous Comments:
------------------------------------------------------------------------
[2003-02-26 11:57:40] nathan at dstatement dot com
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 this bug report at https://bugs.php.net/bug.php?id=22444&edit=1