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_Monitor » Bug #6596

Mail From should be mentioned

Details

Request #6596Mail From should be mentioned
Submitted2006-01-26 14:52 UTC
Fromjens dot grafe at subsist dot de
Assignedtoggg
StatusClosed
PackageNet_Monitor
PHP Version4.3.10
OSLinux
Roadmaps(Not assigned)

Comments

[2006-01-26 14:52 UTC] jens dot grafe at subsist dot de

Description:
------------
For sending alert mails you use a SMTP Connection. If there is no "From" parameter this will fail. I didn't get the error from Pear::Mail which took me a while to figure out whats the problem was. So I would suggest the following:
- mention this parameter in the examples or the readme
- check if you could use Mail::factory('mail',$params) which uses the php mail() command
- throw an error to the user