Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 7215
Status: resolved
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: danvdascalescu [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 3.01_04
Fixed in: (no value)



Subject: $SENDMAIL not defined on Win32
Hello, In Lite.pm from MIME-Lite-3.01_04, line 392 reads: my %SenderArgs = ( "sendmail" => ["$SENDMAIL -t -oi -oem"], "smtp" => [], "sub" => [], ); The problem is that $SENDMAIL is not defined if $^O =~ /win32/i (10 lines above). This will generate a "Use of uninitialized value in concatenation (.) or string" warning. The fix would be to define $SENDMAIL in the if branch for $^O matching /win32/i. Hope this helps, Dan Dascalescu
Fixed in svn. The full path to sendmail is found by searching the path (File::Spec->path) and if none is found, we croak rather than do something insane. -- rjbs
Subject: Re: [rt.cpan.org #7215] $SENDMAIL not defined on Win32
Date: Thu, 2 Aug 2007 21:12:01 +0200
To: bug-MIME-Lite [...] rt.cpan.org
From: demerphq <demerphq [...] gmail.com>
On 7/31/07, Ricardo Signes via RT <bug-MIME-Lite@rt.cpan.org> wrote: Show quoted text
> > Queue: MIME-Lite > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=7215 > > > Fixed in svn. The full path to sendmail is found by searching the path > (File::Spec->path) and if none is found, we croak rather than do > something insane.
Note on win32 the default these days is to use Net::SMTP and not go via sendmail at all. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"