PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.