Mail Queue : bug with factorySendMail method?
| From: | Stephen Musgrave | Date: | Thu, 10 Jun 2004 22:58:10 +0000 |
| Subject: | Mail Queue : bug with factorySendMail method? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-30446@lists.php.net to get a copy of this message | ||
Hello -
I am a big fan of Mail_Queue and have used it several times in the past.
During my first usage of 1.1 I ran into a problem sending emails in the
queue. (I was able to get emails into the queue just fine.) I was getting
an error that said there was a call to an undefined function, send(), on
line 365 (in Queue.php) in sendMail().
Seeing other posters write about the sensitivity of the driver variable, I
took a closer look. I noticed that factorySendMail() contained this line of
code:
unset($options['driver']);
I also noted that factorySendMail() is different in 1.1 (than in 1.0). I
commented the unset code out and it worked!
I looked at the change log and saw, "Fixed error in factorySendMail()". So,
apparently there was an issue with the driver parameter for others in 1.0?
I wanted to make the development team aware of this bug.
Thanks,
Stephen