Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Reporter CPAN distribution.

Report information
The Basics
Id: 6520
Status: resolved
Priority: 0/
Queue: Test-Reporter

People
Owner: FOX [...] cpan.org
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.20
Fixed in: (no value)



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.
From: Richard Soderberg
How would you propose that Test::Reporter automatically detect which of the installed mail sending modules you prefer? Logic could be added, but right now it's hard to guess a human's preferences based solely on their installed modules. - R. [guest - Fri Jun 4 15:13:48 2004]: Show quoted text
> 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.
Solved in 1.27. This is a duplicate of 9831.