Subject: | [PATCH] add support for NetWare |
Date: | Thu, 28 Feb 2008 16:01:40 +0100 |
To: | bug-MailTools [...] rt.cpan.org |
From: | Guenter Knauf <info [...] gknw.de> |
Hi Mark,
on NetWare platform we also need to use the 'smtp' $MailerType;
here's a small patch which adds NetWare to the list of those platforms which need smtp:
--- Mailer.pm.orig Fri Nov 30 09:58:02 2007
+++ Mailer.pm Thu Feb 28 01:42:20 2008
@@ -40,7 +40,7 @@
$Mailers{sendmail} = 'sendmail'
if $^O eq 'os2' && ! is_exe $Mailers{sendmail};
-if($^O eq 'MacOS' || $^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'os2')
+if($^O eq 'MacOS' || $^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'os2' || $^O eq 'NetWare')
{ $MailerType = 'smtp';
$MailerBinary = $Mailers{$MailerType};
}
thanks, Guenter.
--- Mailer.pm.orig Fri Nov 30 09:58:02 2007
+++ Mailer.pm Thu Feb 28 01:42:20 2008
@@ -40,7 +40,7 @@
$Mailers{sendmail} = 'sendmail'
if $^O eq 'os2' && ! is_exe $Mailers{sendmail};
-if($^O eq 'MacOS' || $^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'os2')
+if($^O eq 'MacOS' || $^O eq 'VMS' || $^O eq 'MSWin32' || $^O eq 'os2' || $^O eq 'NetWare')
{ $MailerType = 'smtp';
$MailerBinary = $Mailers{$MailerType};
}