Subject: | _have_mail_send() method gives wrong value |
The code in the send() method
if ($self->_have_mail_send()) {
return $self->_mail_send(@recipients);
}
else {
return $self->_send_smtp(@recipients);
}
does not work: _have_mail_send() is true on my Windows machine when it should be false. (I had to hardcode it to be false so the module works.)
I have Mail::Send installed, though I don't use it. There should be a better means of detecting what kind of mailer is used.