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 » Mail » Mail_Queue » Bug #149

error in factorySendMail()

Details

Submitted2003-10-24 10:08 UTC
Fromminakov at bas-net dot by
Assignedquipo
StatusClosed
PackageMail_Queue
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2003-10-24 10:08 UTC] minakov at bas-net dot by

Description:
------------
replace code as:

$driver = $this->mail_options['driver'];
unset($this->mail_options['driver']);

$this->send_mail =& Mail::factory( $driver, $this->mail_options );

[2003-10-24 11:25 UTC] minakov at bas-net dot by

if we do not delete "driver" parameter from mail_options, then it's passed to call of "mail" function in "send" method of "Mail_mail" class, thus it results in my case in doubling of email to local address.