http://www.perlmonks.org?node_id=84532

costas has asked for the wisdom of the Perl Monks concerning the following question:

I am writing a cgi script which sends out mail

I am however working locally on IIS 4 running active perl I will later have to upload to a site running perl on apache

I have the following code in my mail script which doesnt work on IIS.

my $mailprog = "/usr/lib/sendmail";

What i want to know is will this work fine if i upload it to the Apache server.

I would also like to know what i should substitute this line of code for when writing for IIS.

Thanks