--- lib/MIME/Lite.pm~ 2007-11-01 17:00:25.000000000 -0400 +++ lib/MIME/Lite.pm 2007-11-01 17:00:59.000000000 -0400 @@ -383,27 +383,27 @@ $MIME::Lite::DEBUG = 0; my $Sender = ""; my $SENDMAIL = ""; -if ( $^O =~ /win32/i ) { - $Sender = "smtp"; -} else { - ### Find sendmail: - $Sender = "sendmail"; - $SENDMAIL = "/usr/lib/sendmail"; - ( -x $SENDMAIL ) or ( $SENDMAIL = "/usr/sbin/sendmail" ); - ( -x $SENDMAIL ) or ( $SENDMAIL = "sendmail" ); - unless (-x $SENDMAIL) { - require File::Spec; - for my $dir (File::Spec->path) { - if ( -x "$dir/sendmail" ) { - $SENDMAIL = "$dir/sendmail"; - last; - } - } - } - unless (-x $SENDMAIL) { - Carp::croak "can't find an executable sendmail" - } -} +#if ( $^O =~ /win32/i ) { +# $Sender = "smtp"; +#} else { +# ### Find sendmail: +# $Sender = "sendmail"; +# $SENDMAIL = "/usr/lib/sendmail"; +# ( -x $SENDMAIL ) or ( $SENDMAIL = "/usr/sbin/sendmail" ); +# ( -x $SENDMAIL ) or ( $SENDMAIL = "sendmail" ); +# unless (-x $SENDMAIL) { +# require File::Spec; +# for my $dir (File::Spec->path) { +# if ( -x "$dir/sendmail" ) { +# $SENDMAIL = "$dir/sendmail"; +# last; +# } +# } +# } +# unless (-x $SENDMAIL) { +# Carp::croak "can't find an executable sendmail" +# } +#} ### Our sending facilities: my %SenderArgs = (