Not sure whether this is a reading error on my part, a documentation bug
or an implementation bug. As far as I can tell from the docs:
Mail::Mailer->new 'sendmail', args ...
should accept a single optional argument specifying the path to
sendmail. Instead, it appears to save any additional arguments in an
'Args' array, which is then supplied as an argument list to sendmail;
there isn't (that I can see) any method-oriented way to override the
builtin path to sendmail, nor is there any mention in the documentation
that there is a builtin path (and that it is '/usr/lib/sendmail').
So, should I write:
$mailer = Mail::Mailer->new 'sendmail', $path_to_sendmail;
and fix Mail::Mailer to use this? Or is the intended use actually as
coded rather than as documented?
Thanks in advance for any clarification,
Hugo van der Sanden