M
Monty
I'm a novice programmer and have used this line of code to access the
mail program on my provider's server and it has worked fine:
$mailprog = '/usr/lib/sendmail -i -t';
# Open The Mail Program
open(MAIL,"|$mailprog");
print MAIL "To: ([email protected])";
print MAIL "From: Me";
etc etc
I'm now writing a script which will reside on a Windows server and will
need to send the contents of a form to an email address. How do I tell
the Perl in my CGI script where the Windows mail server is? It obviously
isn't at /usr/lib/sendmail . How do I code this section differently for
a Windows server than an Unix server?
Monty
mail program on my provider's server and it has worked fine:
$mailprog = '/usr/lib/sendmail -i -t';
# Open The Mail Program
open(MAIL,"|$mailprog");
print MAIL "To: ([email protected])";
print MAIL "From: Me";
etc etc
I'm now writing a script which will reside on a Windows server and will
need to send the contents of a form to an email address. How do I tell
the Perl in my CGI script where the Windows mail server is? It obviously
isn't at /usr/lib/sendmail . How do I code this section differently for
a Windows server than an Unix server?
Monty