PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_NNTP » Bug #6833

mail() does not work

Details

Submitted2006-02-19 00:39 UTC
Fromwmark at hurrikane dot de
Assignedheino
StatusClosed
PackageNet_NNTP
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-02-19 00:39 UTC] wmark at hurrikane dot de

Description:
------------
mail() does not work

Test script:
---------------
<?php
require_once 'Net/NNTP/Client.php'; echo('.');

$news = new Net_NNTP_Client(); echo('.');

$tmp = $news->connect('hostname'); if(PEAR::isError($tmp)) {echo('Error');} echo('.');

$tmp = $news->authenticate('username', 'password'); if(PEAR::isError($tmp)) {echo('Error');} echo('.');

$tmp = $news->mail('group.name',
'Subject',
'Body',
'From: <somebody@example.net>');
if(PEAR::isError($tmp)) {echo('Error');} echo('.');

$news->disconnect();
?>

Expected result:
----------------
The expected behaviour is, that a new messsage shows up in the given newsgroup.

Actual result:
--------------
Unfortunately neither the message appears nor any error happens.

[2006-02-19 00:43 UTC] heino at php dot net

The mail() method was not using the updated protocol API.

It appears that a modification was never committed or something, since the this new medhot was actually once tested...

[2006-02-19 11:47 UTC] wmark at hurrikane dot de

The patched revision you have send me works now. Thanks!

[2006-02-28 17:52 UTC] heino at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

[2006-06-17 22:11 UTC] heino at php dot net

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Net_NNTP